/*
 * Gildrive Home (tpl-gildrive-home.php)
 * Mobile first. Every value maps to a token in audit/Design.md
 * (colours, radius 5/8/15, spacing 4/8/16/32/64, container 1140px).
 */

/* Fonts served from the child theme: the Elementor Google Fonts CSS points at
   the live domain, so on other hosts the kit fonts never load. Own family
   names keep these faces independent from Elementor's @font-face rules. */
@font-face {
	font-family: "GH Exo 2";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url(fonts/exo2-latin.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "GH Exo 2";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url(fonts/exo2-latin-ext.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "GH DM Sans";
	font-style: normal;
	font-weight: 100 1000;
	font-display: swap;
	src: url(fonts/dmsans-latin.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "GH DM Sans";
	font-style: normal;
	font-weight: 100 1000;
	font-display: swap;
	src: url(fonts/dmsans-latin-ext.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

.gh-home {
	/* Design.md tokens */
	--gh-ink: #313135;
	--gh-violet: #44267D;
	--gh-violet-dim: #2E1A57;
	--gh-violet-soft: #F8F4FF;
	--gh-grey: #6B6C7A;
	--gh-line: #D4D6DD;
	--gh-line-hover: #949CA2;
	--gh-line-strong: #878C9D;
	--gh-divider: #E4E9E9;
	--gh-shade: #F8F8F8;
	--gh-display: "GH Exo 2", system-ui, sans-serif;
	--gh-body: "GH DM Sans", system-ui, sans-serif;
	--gh-r-field: 5px;
	--gh-r: 8px;
	--gh-r-panel: 15px;
	--gh-s1: 4px;
	--gh-s2: 8px;
	--gh-s3: 16px;
	--gh-s4: 32px;
	--gh-s5: 64px;
	--gh-container: 1140px;
	--gh-ease: cubic-bezier(.16, 1, .3, 1);
	--gh-gutter: 16px;

	/* The embedded Voxel widgets read the Elementor kit variables: re-point the
	   two greys that miss contrast and the px line-height to the tokens. */
		--e-global-color-de1b9b0: #313135;
		--e-global-color-45408bb: #878C9D;
		--e-global-typography-text-line-height: 1.5;
	--e-global-typography-text-font-family: "GH DM Sans";
	--e-global-typography-primary-font-family: "GH Exo 2";

	color: var(--gh-ink);
	font-family: var(--gh-body);
	font-size: 16px;
	line-height: 1.5;
	background: #fff;
	overflow-x: clip;
}

.gh-home *,
.gh-home *::before,
.gh-home *::after { box-sizing: border-box; }

.gh-home ::selection { background: var(--gh-violet); color: #fff; }

.gh-home a { color: inherit; text-decoration: none; }

.gh-home a:focus-visible,
.gh-home button:focus-visible {
	outline: 2px solid var(--gh-violet);
	outline-offset: 2px;
	border-radius: var(--gh-r);
}

/* :where() keeps this reset at element weight so .gh-cats__list and .gh-rail keep their gutter. */
:where(.gh-home) ul { list-style: none; margin: 0; padding: 0; }

/* body prefix outranks the Elementor kit heading rules (.elementor-kit-6 h2). */
body .gh-home h1,
body .gh-home h2,
body .gh-home h3 {
	margin: 0;
	font-family: var(--gh-display);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--gh-ink);
	text-wrap: balance;
}

.gh-home p { margin: 0; }

.gh-home svg { display: block; }

.gh-home .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.gh-wrap {
	width: 100%;
	max-width: calc(var(--gh-container) + 2 * var(--gh-gutter));
	margin-inline: auto;
	padding-inline: var(--gh-gutter);
}

/* ---------- Mobile top bar (Voxel shows its full header only above 1024px) ---------- */

.gh-topbar {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 56px;
}

.gh-topbar__logo { display: flex; align-items: center; min-height: 44px; }

.gh-topbar__logo img { width: auto; height: 28px; }

/* ---------- Hero ---------- */

.gh-hero { padding-top: var(--gh-s4); }

.gh-home .gh-hero__title {
	font-size: 30px;
	max-width: 14ch;
}

.gh-hero__lead {
	margin-top: var(--gh-s2) !important;
	color: var(--gh-grey);
	max-width: 46ch;
}

.gh-search { margin-top: var(--gh-s3); }

.gh-hero__proof {
	margin-top: var(--gh-s3) !important;
	font-size: 14px;
	color: var(--gh-grey);
}

.gh-hero__proof strong {
	color: var(--gh-ink);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

/* Voxel search form. The widget's own CSS is scoped to an element id, so the
   few properties that differ from Design.md need !important. */
.gh-home .gh-search .ts-filter-wrapper { gap: var(--gh-s2); }

.gh-home .gh-search .ts-filter-wrapper > .ts-form-group { padding: 0 !important; }

.gh-home .gh-search .ts-filter,
.gh-home .gh-search .inline-input {
	height: 44px !important;
	border-radius: var(--gh-r-field) !important;
	border-color: var(--gh-line-strong) !important;
	line-height: 1.5 !important;
}

.gh-home .gh-search .ts-filter { padding-block: 0 !important; }

.gh-home .gh-search .ts-filter:hover,
.gh-home .gh-search .inline-input:hover,
.gh-home .gh-search .inline-input:focus,
.gh-home .gh-search .ts-filter.ts-filled { border-color: var(--gh-violet) !important; }

.gh-home .gh-search .inline-input::placeholder { color: var(--gh-line-strong) !important; }

.gh-home .gh-search .ts-search-btn {
	height: 44px !important;
	border-radius: var(--gh-r) !important;
	font-weight: 500 !important;
	line-height: 1.2 !important;
	transition: background-color .2s var(--gh-ease);
}

.gh-home .gh-search .ts-search-btn:hover { background: var(--gh-violet-dim) !important; }

/* "Use my location" icon: 24px drawn, 44px touch area. */
.gh-home .gh-search .inline-user-location {
	display: grid;
	place-items: center;
	width: 44px !important;
	height: 44px !important;
	right: 0 !important;
}

/* ---------- Category tiles ---------- */

.gh-cats {
	margin-top: var(--gh-s4);
	padding-block: var(--gh-s3);
}

.gh-cats__list {
	display: flex;
	gap: var(--gh-s2);
	max-width: calc(var(--gh-container) + 2 * var(--gh-gutter));
	margin-inline: auto;
	padding-inline: var(--gh-gutter);
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scroll-padding-inline: var(--gh-gutter);
	scrollbar-width: none;
}

.gh-cats__list::-webkit-scrollbar { display: none; }

.gh-cats__list > li { flex: 0 0 auto; scroll-snap-align: start; }

.gh-cat {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--gh-s1);
	height: 100%;
	min-width: 96px;
	padding: var(--gh-s2) var(--gh-s3);
	border-radius: var(--gh-r);
	background: #fff;
	text-align: center;
	transition: background-color .2s var(--gh-ease);
}

.gh-cat:hover { background: var(--gh-violet-soft); }

.gh-cat__icon {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	color: var(--gh-violet);
}

.gh-cat__icon svg,
.gh-cat__icon img { width: 28px; height: 28px; fill: currentColor; }

.gh-cat__icon i { font-size: 28px; }

.gh-cat__name {
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	white-space: nowrap;
}

/* margin-top: auto pins the count to the tile bottom when a name wraps to two lines. */
.gh-cat__count {
	margin-top: auto;
	font-size: 12px;
	line-height: 1.4;
	font-variant-numeric: tabular-nums;
	color: var(--gh-grey);
}

/* ---------- Sections ---------- */

.gh-section { padding-top: var(--gh-s5); }

.gh-band {
	margin-top: var(--gh-s5);
	padding-block: var(--gh-s5);
	background: var(--gh-shade);
}

.gh-section__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--gh-s3);
	margin-bottom: var(--gh-s3);
}

.gh-home .gh-section__title { font-size: 24px; }

.gh-section__lead {
	margin-top: var(--gh-s2) !important;
	color: var(--gh-grey);
	max-width: 60ch;
}

.gh-more {
	display: none;
	align-items: center;
	min-height: 44px;
	gap: var(--gh-s1);
	flex: 0 0 auto;
	font-weight: 500;
	color: var(--gh-violet) !important;
	text-decoration: underline !important;
	text-underline-offset: 4px;
	text-decoration-thickness: 1px !important;
}

.gh-more svg,
.gh-biz__join svg { width: 18px; height: 18px; }

/* ---------- Partner cards (horizontal rail on mobile) ---------- */

.gh-rail {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 78%;
	gap: var(--gh-s3);
	padding: 0 var(--gh-gutter) var(--gh-s1);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--gh-gutter);
	scrollbar-width: none;
}

.gh-rail::-webkit-scrollbar { display: none; }

.gh-card { scroll-snap-align: start; }

.gh-card__link { display: block; }

.gh-card__media {
	display: block;
	aspect-ratio: 4 / 3;
	border-radius: var(--gh-r);
	overflow: hidden;
	background: var(--gh-shade);
}

.gh-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s var(--gh-ease);
}

.gh-card__link:hover .gh-card__media img { transform: scale(1.03); }

.gh-card__body { display: block; padding-top: var(--gh-s2); }

.gh-home .gh-card__title {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 18px;
	line-height: 1.2;
	letter-spacing: 0;
}

.gh-card__name {
	min-width: 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.gh-verified { flex: 0 0 20px; color: var(--gh-violet); }

.gh-verified svg { width: 20px; height: 20px; }

.gh-card__meta {
	display: block;
	margin-top: var(--gh-s1);
	font-size: 14px;
	color: var(--gh-grey);
}

/* ---------- Cities ---------- */

.gh-cities__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--gh-s2);
}

.gh-city {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 2px 8px;
	padding: 12px var(--gh-s3);
	border-radius: var(--gh-r);
	background: #fff;
	transition: background-color .2s var(--gh-ease);
}

.gh-city:hover { background: var(--gh-violet-soft); }

.gh-city__name {
	display: block;
	font-weight: 500;
	color: var(--gh-ink);
}

.gh-city__count {
	grid-column: 2;
	font-size: 14px;
	color: var(--gh-grey);
	font-variant-numeric: tabular-nums;
}

/* Countries: network reach, top 10 cards and the full list. */

.gh-reach { margin-bottom: var(--gh-s3); max-width: 560px; }

.gh-reach__text { font-size: 15px; color: var(--gh-grey); }

.gh-reach__text strong { color: var(--gh-violet); font-weight: 600; }

.gh-reach__bar {
	height: 6px;
	margin-top: var(--gh-s1);
	border-radius: 3px;
	background: var(--gh-line);
	overflow: hidden;
}

.gh-reach__bar span {
	display: block;
	width: var(--gh-reach);
	height: 100%;
	border-radius: 3px;
	background: var(--gh-violet);
}

.gh-city__code,
.gh-chip .gh-city__code {
	display: inline-block;
	padding: 1px 6px;
	border-radius: 4px;
	background: var(--gh-violet);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .04em;
}

.gh-allc { margin-top: var(--gh-s3); }

.gh-allc__toggle {
	display: inline-flex;
	align-items: center;
	gap: var(--gh-s1);
	min-height: 44px;
	padding: 0 var(--gh-s3);
	border-radius: var(--gh-r);
	background: #fff;
	color: var(--gh-ink);
	font-weight: 500;
	cursor: pointer;
	list-style: none;
}

.gh-allc__toggle::-webkit-details-marker { display: none; }

.gh-allc__toggle::after {
	content: "";
	width: 8px;
	height: 8px;
	margin-left: 4px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	transition: transform .2s var(--gh-ease);
}

.gh-allc[open] .gh-allc__toggle::after { transform: translateY(2px) rotate(-135deg); }

.gh-allc__toggle:hover { background: var(--gh-violet-soft); color: var(--gh-violet); }

.gh-allc__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--gh-s1);
	margin-top: var(--gh-s2) !important;
}

.gh-chip {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 2px 8px;
	min-height: 44px;
	height: 100%;
	padding: 10px 12px;
	border-radius: var(--gh-r);
	background: #fff;
	transition: background-color .2s var(--gh-ease);
}

.gh-chip:hover { background: var(--gh-violet-soft); }

.gh-chip__name { font-size: 14px; font-weight: 500; line-height: 1.25; color: var(--gh-ink); }

.gh-chip__count { grid-column: 2; font-size: 13px; color: var(--gh-grey); font-variant-numeric: tabular-nums; }

.gh-chip--empty { border-style: dashed; background: transparent; }

.gh-chip--empty .gh-chip__name { color: var(--gh-grey); }

.gh-chip--empty .gh-chip__count { color: var(--gh-violet); }

@supports (animation-timeline: view()) {
	.gh-reach__bar span {
		animation: gh-grow linear both;
		animation-timeline: view();
		animation-range: entry 10% cover 35%;
	}
}

@keyframes gh-grow { from { width: 0; } }

.gh-allc[open] .gh-allc__list { animation: gh-drop .3s var(--gh-ease); }

@keyframes gh-drop { from { opacity: 0; transform: translateY(-8px); } }

@media (prefers-reduced-motion: reduce) {
	.gh-reach__bar span,
	.gh-allc[open] .gh-allc__list { animation: none; }
}

@media (min-width: 768px) {
	.gh-allc__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
	.gh-allc__list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* ---------- DiagnostiX ---------- */

.gh-diag__inner {
	padding: var(--gh-s4) var(--gh-s3);
	border-radius: var(--gh-r-panel);
	background: var(--gh-violet);
	color: #fff;
}

/* .gh-wrap padding would widen the panel past the gutter on mobile. */
.gh-diag .gh-wrap.gh-diag__inner {
	width: calc(100% - 2 * var(--gh-gutter));
	max-width: var(--gh-container);
}

.gh-home .gh-diag .gh-section__title { color: #fff; }

.gh-diag .gh-section__lead { color: rgba(255, 255, 255, .85); }

.gh-diag__facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--gh-s3);
	margin: var(--gh-s4) 0 0;
}

/* CORRETTIZIONE: rimuovi border-top per no hairline */
.gh-diag__facts div {
	padding-top: var(--gh-s2);
}

.gh-diag__facts dt {
	font-size: 14px;
	color: rgba(255, 255, 255, .85);
}

.gh-diag__facts dd {
	margin: var(--gh-s1) 0 0;
	font-family: var(--gh-display);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
}

/* ---------- DiagnostiX photo panel (31/10) ---------- */

.gh-dx__inner { overflow: hidden; }

.gh-dx__eyebrow {
	margin: 0 0 var(--gh-s2);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #CAAEFF;
}

/* Facts as glass cards with a white border and a passing scan light. */
.gh-diag__facts.gh-dx__facts { gap: var(--gh-s2); margin-top: var(--gh-s4); }

.gh-dx__facts div {
	position: relative;
	overflow: hidden;
	padding: 10px;
	border: 1px solid rgba(255, 255, 255, .75);
	border-radius: var(--gh-r);
	background: rgba(255, 255, 255, .06);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	transition: border-color .2s var(--gh-ease), background-color .2s var(--gh-ease), transform .2s var(--gh-ease);
}

.gh-dx__facts div::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .2) 50%, transparent 65%);
	transform: translateX(-120%);
	animation: gh-dx-shine 4.5s var(--gh-ease) infinite;
	pointer-events: none;
}

.gh-dx__facts div:nth-child(2)::after { animation-delay: .5s; }
.gh-dx__facts div:nth-child(3)::after { animation-delay: 1s; }

.gh-dx__facts div:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, .12);
	transform: translateY(-2px);
}

.gh-diag__facts.gh-dx__facts dd { font-size: 20px; }

@keyframes gh-dx-shine {
	0% { transform: translateX(-120%); }
	35%, 100% { transform: translateX(120%); }
}

/* Cards rise in one after the other as the panel scrolls into view. */
@supports (animation-timeline: view()) {
	.gh-dx__facts div {
		animation: gh-dx-rise linear both;
		animation-timeline: view();
		animation-range: entry 0% cover 25%;
	}

	.gh-dx__facts div:nth-child(2) { animation-range: entry 10% cover 30%; }
	.gh-dx__facts div:nth-child(3) { animation-range: entry 20% cover 35%; }
}

@keyframes gh-dx-rise {
	from { opacity: 0; transform: translateY(16px); }
	to { opacity: 1; transform: none; }
}

/* CORRETTIZIONE: rimuovi animazione ring per no glow sui pulsanti */
.gh-dx__cta {
	display: inline-flex;
	align-items: center;
	gap: var(--gh-s2);
	min-height: 52px;
	margin-top: var(--gh-s4);
	padding: 0 var(--gh-s4);
	border-radius: var(--gh-r);
	background: #fff;
	color: var(--gh-violet);
	font-family: var(--gh-display);
	font-size: 18px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color .2s var(--gh-ease), transform .2s var(--gh-ease);
}

.gh-dx__arrow { transition: transform .2s var(--gh-ease); }

.gh-dx__cta:hover { background: var(--gh-violet-soft); transform: translateY(-1px); }

.gh-dx__cta:hover .gh-dx__arrow { transform: translateX(4px); }

@keyframes gh-dx-ring {
	0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .5); }
	70%, 100% { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0); }
}

/* Mobile: the photo sits under the text and fades in from the top. */
.gh-dx__img {
	display: block;
	width: calc(100% + 2 * var(--gh-s3));
	max-width: none;
	height: auto;
	margin: var(--gh-s4) calc(-1 * var(--gh-s3)) calc(-1 * var(--gh-s4));
	-webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%);
	mask-image: linear-gradient(to bottom, transparent, #000 30%);
}

@media (min-width: 768px) {
	.gh-dx__facts div { padding: var(--gh-s2) var(--gh-s3); }

	.gh-diag__facts.gh-dx__facts dd { font-size: 28px; }

	/* The panel padding grows to s5 here, so the photo bleeds by s5 to reach the edges. */
	.gh-dx__img {
		width: calc(100% + 2 * var(--gh-s5));
		margin: var(--gh-s4) calc(-1 * var(--gh-s5)) calc(-1 * var(--gh-s5));
	}
}

/* Desktop: the photo fills the right of the panel and fades in slowly
   from under the text, so there is no visible edge. */
@media (min-width: 1024px) {
	.gh-dx--photo .gh-diag__inner {
		display: block;
		position: relative;
		padding: 0;
	}

	.gh-dx--photo .gh-diag__text {
		position: relative;
		z-index: 1;
		max-width: 620px;
		padding: var(--gh-s5);
	}

	.gh-dx__img {
		position: absolute;
		top: 0;
		right: 0;
		width: 68%;
		height: 100%;
		object-fit: cover;
		object-position: right center;
		margin: 0;
		-webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, .2) 20%, rgba(0, 0, 0, .65) 42%, #000 65%);
		mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, .2) 20%, rgba(0, 0, 0, .65) 42%, #000 65%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.gh-dx__facts div, .gh-dx__facts div::after, .gh-dx__cta { animation: none; }
}

/* ---------- Business claim ---------- */

/* Dark violet panel - solid background per rimuovere gradiente */
.gh-biz {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: grid;
	gap: var(--gh-s4);
	padding: var(--gh-s5) var(--gh-s3);
	border-radius: var(--gh-r-panel);
	background: var(--gh-violet);
	color: #fff;
}

.gh-biz__blinds,
.gh-biz__scrim {
	position: absolute;
	inset: 0;
	border-radius: inherit;
	pointer-events: none;
}

.gh-biz__blinds { z-index: 0; opacity: 0; transition: opacity .6s var(--gh-ease); }

.gh-biz__blinds.is-live { opacity: 1; }

.gh-biz__blinds canvas { display: block; width: 100%; height: 100%; }

/* CORRETTIZIONE: rimuovi gradiente, usa colore piatto */
.gh-biz__scrim {
	z-index: 1;
	background: none;
}

.gh-biz__text,
.gh-biz__action { position: relative; z-index: 2; }

.gh-biz__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 var(--gh-s3) !important;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .65);
}

.gh-biz__eyebrow span { width: 24px; height: 1px; background: rgba(255, 255, 255, .5); }

.gh-home .gh-biz__title {
	font-size: 28px;
	line-height: 1.1;
	color: #fff;
	text-wrap: balance;
}

.gh-biz__text p:not(.gh-biz__eyebrow) {
	margin-top: var(--gh-s3) !important;
	max-width: 46ch;
	color: rgba(255, 255, 255, .8);
}

.gh-biz__text .gh-biz__note { color: rgba(255, 255, 255, .6); }

/* The quick-search template (129004) keeps the widget at its content width. */
.gh-home .gh-biz__search .elementor-element,
.gh-home .gh-biz__search .ts-form,
.gh-home .gh-biz__search .ts-form-group {
	width: 100% !important;
	max-width: none;
	flex: 1 1 auto;
}

.gh-home .gh-biz__search .ts-filter {
	width: 100%;
	height: 44px !important;
	border-radius: var(--gh-r-field) !important;
	border-color: var(--gh-line-strong) !important;
	font-size: 16px !important;
	background: #fff;
}

.gh-biz__join {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	gap: var(--gh-s1);
	margin-top: var(--gh-s3);
	/* Side padding for the hover background; the negative margin keeps the text aligned with the search field. */
	padding: 0 var(--gh-s2);
	margin-left: calc(-1 * var(--gh-s2));
	border-radius: var(--gh-r);
	font-weight: 500;
	color: rgba(255, 255, 255, .85) !important;
	text-decoration: underline !important;
	text-decoration-color: rgba(255, 255, 255, .3) !important;
	text-underline-offset: 4px;
	transition: color .2s var(--gh-ease), text-decoration-color .2s var(--gh-ease), background-color .2s var(--gh-ease);
}

.gh-biz__join:hover {
	background-color: var(--gh-violet-dim);
	color: #fff !important;
	text-decoration-color: rgba(255, 255, 255, .7) !important;
}

/* ---------- Industry pulse ---------- */

.gh-posts {
	display: grid;
	gap: var(--gh-s3);
	padding-bottom: var(--gh-s5);
}

.gh-post__link {
	display: grid;
	grid-template-columns: 96px 1fr;
	gap: var(--gh-s3);
	align-items: center;
}

.gh-post__media {
	display: block;
	aspect-ratio: 1;
	border-radius: var(--gh-r);
	overflow: hidden;
	background: var(--gh-shade);
}

.gh-post__media img { width: 100%; height: 100%; object-fit: cover; }

.gh-home .gh-post__title {
	font-size: 16px;
	line-height: 1.3;
	letter-spacing: 0;
	transition: color .2s var(--gh-ease);
}

.gh-post__link:hover .gh-post__title { color: var(--gh-violet); }

.gh-post__date {
	display: block;
	margin-top: var(--gh-s1);
	font-size: 14px;
	color: var(--gh-grey);
}

/* ---------- Tablet ---------- */

@media (min-width: 768px) {
	.gh-home { --gh-gutter: 32px; }

	.gh-hero { padding-top: var(--gh-s5); }

	.gh-home .gh-hero__title { font-size: 42px; }

	.gh-home .gh-section__title,
	.gh-home .gh-biz__title { font-size: 40px; }

	.gh-more { display: inline-flex; }

	.gh-rail { grid-auto-columns: 40%; }

	.gh-cities__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

	.gh-diag__inner,
	.gh-biz { padding: var(--gh-s5); }

	.gh-diag__facts dd { font-size: 32px; }

	.gh-posts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gh-s4); }

	.gh-post__link { grid-template-columns: 1fr; align-items: start; }

	.gh-post__media { aspect-ratio: 16 / 10; }

	.gh-home .gh-post__title { font-size: 18px; line-height: 1.2; }
}

/* ---------- Desktop ---------- */

@media (min-width: 1024px) {
	.gh-cats__list {
		display: grid;
		grid-template-columns: repeat(6, minmax(0, 1fr));
		overflow: visible;
	}

	.gh-cat { min-width: 0; padding-inline: var(--gh-s1); }

	.gh-cat__name { white-space: normal; text-wrap: balance; }

	.gh-rail {
		grid-auto-flow: row;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		max-width: calc(var(--gh-container) + 2 * var(--gh-gutter));
		margin-inline: auto;
		overflow: visible;
		gap: var(--gh-s4) var(--gh-s3);
	}

	.gh-cities__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }

	.gh-diag__inner {
		display: grid;
		grid-template-columns: 1fr 1fr;
		align-items: end;
		gap: var(--gh-s5);
	}

	.gh-diag__facts { margin: 0; }

	.gh-biz {
		grid-template-columns: 1fr 1fr;
		align-items: center;
		gap: var(--gh-s5);
	}

	/* Search as one bordered bar: fields split by thin dividers. */
	.gh-search { max-width: none; }

	.gh-home .gh-search .ts-filter-wrapper {
		flex-wrap: nowrap;
		align-items: center;
		gap: 0;
		padding: var(--gh-s1);
		border-radius: var(--gh-r);
		background: #fff;
		transition: border-color .2s var(--gh-ease);
	}

	.gh-home .gh-search .ts-filter-wrapper:hover { box-shadow: 0 2px 8px rgba(0,0,0,.1); }

	.gh-home .gh-search .ts-form-group {
		position: relative;
		flex: 1 1 0;
		width: auto !important;
		min-width: 0;
	}

	.gh-home .gh-search .ts-inline-filter { flex-grow: 1.4; }

	.gh-home .gh-search .ts-form-group + .ts-form-group:not(.ts-form-submit)::before {
		content: "";
		position: absolute;
		left: 0;
		top: 25%;
		height: 50%;
	}

	.gh-home .gh-search .ts-filter,
	.gh-home .gh-search .ts-filter.ts-filled,
	.gh-home .gh-search .inline-input,
	.gh-home .gh-search .inline-input:focus {
		border-color: transparent !important;
		background: transparent;
		transition: background-color .2s var(--gh-ease);
	}

	.gh-home .gh-search .ts-filter:hover,
	.gh-home .gh-search .inline-input:hover,
	.gh-home .gh-search .inline-input:focus { background: var(--gh-shade); }

	.gh-home .gh-search .ts-form-submit { flex: 0 0 auto; margin-left: var(--gh-s1); }

	.gh-home .gh-search .ts-search-btn { width: auto; padding-inline: var(--gh-s4); }
}

@media (min-width: 1025px) {
	.gh-topbar { display: none; }

	/* Desktop header: the Voxel row (logo, quick search) gives way to the
	   "GH Home - Header desktop" template, two white pills over the photo. */
	body.page-template-tpl-gildrive-home .elementor-12894 > .elementor-element-cf933b2 { display: none !important; }

	.gh-home { position: relative; }

	.gh-header {
		position: absolute;
		inset: 0 0 auto;
		z-index: 20;
	}

	/* Pills: no inner space, no border, no gaps; the buttons touch the edges
	   and the pill's rounded corners clip their hover colour. */
	.gh-header :is(.elementor-element-8e08c45, .elementor-element-0a8dad9) {
		padding: 0 !important;
		gap: 0 !important;
		border: 0 !important;
		overflow: hidden;
		align-items: stretch !important;
	}

	/* Language switcher (QUpress) sits in the right pill: while its
	   dropdown is open the pill must not clip the list. */
	.gh-header .elementor-element-0a8dad9:has(.qupress-translate-languages__dropdown[open]) { overflow: visible; }

	.gh-header :is(.elementor-element-8e08c45, .elementor-element-0a8dad9) > .elementor-element { margin: 0 !important; }

	/* Right pill: more air between its buttons; the outer edges stay at 8px
	   like the left pill. */
	.gh-header .elementor-element-0a8dad9,
	.gh-header .elementor-element-0a8dad9 .user-area-menu { gap: var(--gh-s2) !important; }

	/* Language switcher: same 8px side padding and full height as the other
	   buttons, so the flag no longer touches the pill edge. */
	.gh-header .qupress-translate-languages__toggle {
		display: inline-flex;
		align-items: center;
		height: 50px;
		padding: 0 8px !important;
	}

	/* Every button: full pill height (50px), square inside the pill; on hover
	   it grows 14px a side, from 8 to 22px (the pill follows), and turns
	   violet with white text and icons. */
	.gh-header .ts-nav > li > .ts-item-link,
	.gh-header .ts-advanced-list .ts-action-con,
	.gh-header .user-area-menu > li > a {
		display: inline-flex;
		align-items: center;
		gap: var(--gh-s2);
		height: 50px;
		min-height: 50px;
		min-width: 42px;
		justify-content: center;
		padding: 0 8px !important;
		border: 0 !important;
		border-radius: 0 !important;
		background: transparent;
		transition: padding .3s var(--gh-ease), background-color .3s var(--gh-ease), color .3s var(--gh-ease);
	}

	.gh-header .ts-nav > li > .ts-item-link:hover,
	.gh-header .ts-advanced-list .ts-action-con:hover,
	.gh-header .user-area-menu > li > a:hover {
		padding-inline: 22px !important;
		background: var(--gh-violet) !important;
		color: #fff !important;
	}

	.gh-header .ts-nav > li > .ts-item-link:hover :is(i, svg),
	.gh-header .ts-advanced-list .ts-action-con:hover :is(i, svg),
	.gh-header .user-area-menu > li > a:hover :is(i, svg) {
		color: #fff !important;
		fill: #fff !important;
	}

	/* Voxel paints its own icon circle on hover: keep it see-through. */
	.gh-header :is(.ts-action-con, .user-area-menu > li > a) :is(.ts-comp-icon, .ts-action-icon) {
		background: transparent !important;
	}

	/* Desktop hero: photo filling the screen, the header pills float on it.
	   Mobile keeps the plain white hero, and never downloads the photo. */
	.gh-hero {
		position: relative;
		isolation: isolate;
		display: flex;
		flex-direction: column;
		/* 100vh minus the WP admin bar (0 for visitors), so the tiles never fall below the fold. */
		min-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px));
		padding-top: 0;
		background: var(--gh-violet-dim) url(hero-desktop.webp) center top / cover no-repeat;
	}

	.gh-hero > .gh-wrap {
		flex: 1 0 auto;
		display: flex;
		flex-direction: column;
		justify-content: flex-end;
		padding-block: var(--gh-s5) var(--gh-s4);
	}

	body .gh-home .gh-hero__title { color: #fff; font-size: 56px; }

	.gh-hero__lead,
	.gh-hero__proof { color: rgba(255, 255, 255, .85); }

	.gh-hero__proof { font-size: 18px; }

	.gh-hero__proof strong { color: #fff; }

	/* Veil behind the category tiles: softens the photo without hiding it. */
	.gh-cats {
		margin-top: 0;
		padding-block: var(--gh-s4);
		border: 0;
		border-top: 1px solid rgba(255, 255, 255, .35);
		background: rgba(255, 255, 255, .15);
		-webkit-backdrop-filter: blur(8px) saturate(1.2);
		backdrop-filter: blur(8px) saturate(1.2);
	}

	.gh-cat { border-color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .85); }
}

/* Footer link colours now live in the footer template 12883 (global Accent), shared by every page. */

@media (prefers-reduced-motion: reduce) {
	.gh-home * { transition: none !important; }
}
