/* Shared HGT visual consistency layer. Content and WoodMart UI remain out of scope. */
.hgt-investment-site {
	--hgt-action-background: #60875a;
	--hgt-action-background-hover: #4f744a;
	--hgt-action-border: #60875a;
	--hgt-action-border-hover: #4f744a;
	--hgt-action-text: #111211;
	--hgt-action-text-hover: #ffffff;
	--hgt-focus: #315f38;
	--hgt-readable: #111211;
	--hgt-surface: #fefefe;
	--hgt-surface-alt: #faf5e5;
	--hgt-border: #d8d8d8;
}

.hgt-investment-site :where(main, .site-header, .site-footer, .hgt-global-enquiry-modal) {
	font-family: var(--sans, "Manrope", sans-serif);
}

.hgt-investment-site :where(main h1, main h2, main h3, .site-footer h2, .site-footer h3) {
	font-family: var(--serif, "Manrope", sans-serif);
	hyphens: none;
	max-width: 100%;
	overflow-wrap: normal;
	word-break: normal;
}

.hgt-investment-site :where(main h1) {
	font-size: clamp(2.35rem, 5.5vw, 4.75rem);
	font-weight: 600;
	letter-spacing: -.04em;
	line-height: 1.06;
}

.hgt-investment-site :where(main h2) {
	font-size: clamp(2rem, 4vw, 3.5rem);
	font-weight: 600;
	letter-spacing: -.035em;
	line-height: 1.1;
}

.hgt-investment-site :where(main h3) {
	font-size: clamp(1.35rem, 2.3vw, 1.9rem);
	font-weight: 600;
	letter-spacing: -.02em;
	line-height: 1.2;
}

.hgt-investment-site :where(main p, main li, main dd, main address) {
	line-height: 1.7;
}

.hgt-investment-site :where(.eyebrow, .hgt-resource-card__category, .hgt-editorial-card__meta, .hgt-editorial-date, .hgt-editorial-byline, .footer-title) {
	font-family: var(--sans, "Manrope", sans-serif);
	font-size: clamp(.68rem, .8vw, .75rem);
	font-weight: 700;
	letter-spacing: .1em;
	line-height: 1.45;
	text-transform: uppercase;
}

/* The current header Contact Us button is the authoritative action treatment. */
.hgt-investment-site :where(
	.button:not(.hgt-ew-button--custom),
	.hgt-editorial-card__read-more,
	.hgt-resource-source-link--primary,
	.contact-form button[type="submit"]
) {
	-webkit-text-fill-color: var(--hgt-action-text) !important;
	align-items: center;
	background: var(--hgt-action-background) !important;
	border: 1px solid var(--hgt-action-border) !important;
	border-radius: 3px;
	box-sizing: border-box;
	color: var(--hgt-action-text) !important;
	display: inline-flex;
	font-family: var(--sans, "Manrope", sans-serif);
	font-size: .72rem;
	font-weight: 700;
	gap: .5rem;
	justify-content: center;
	letter-spacing: .1em;
	line-height: 1.25;
	min-height: 46px;
	padding: .75rem 1.15rem;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.hgt-investment-site :where(
	.button:not(.hgt-ew-button--custom),
	.hgt-editorial-card__read-more,
	.hgt-resource-source-link--primary,
	.contact-form button[type="submit"]
):hover {
	-webkit-text-fill-color: var(--hgt-action-text-hover) !important;
	background: var(--hgt-action-background-hover) !important;
	border-color: var(--hgt-action-border-hover) !important;
	color: var(--hgt-action-text-hover) !important;
	transform: translateY(-1px);
}

.hgt-investment-site :where(
	.button:not(.hgt-ew-button--custom),
	.hgt-editorial-card__read-more,
	.hgt-resource-source-link--primary,
	.contact-form button[type="submit"]
):focus-visible {
	-webkit-text-fill-color: var(--hgt-action-text-hover) !important;
	background: var(--hgt-action-background-hover) !important;
	border-color: var(--hgt-action-border-hover) !important;
	color: var(--hgt-action-text-hover) !important;
	outline: 3px solid var(--hgt-focus) !important;
	outline-offset: 3px;
}

.hgt-investment-site :where(button, .button, [role="button"]):disabled,
.hgt-investment-site :where(button, .button, [role="button"])[aria-disabled="true"] {
	cursor: not-allowed;
	filter: grayscale(.35);
	opacity: .58 !important;
	transform: none !important;
}
/* High-contrast actions only inside green HGT Hero widgets. */
.hgt-investment-site .elementor-widget-hgt_hero .hgt-ew-hero:is(.hero, .page-hero, .resources-hero) .hero-actions .button {
	-webkit-text-fill-color: #111211 !important;
	background: #faf5e5 !important;
	border-color: #faf5e5 !important;
	color: #111211 !important;
}

.hgt-investment-site .elementor-widget-hgt_hero .hgt-ew-hero:is(.hero, .page-hero, .resources-hero) .hero-actions .button:hover,
.hgt-investment-site .elementor-widget-hgt_hero .hgt-ew-hero:is(.hero, .page-hero, .resources-hero) .hero-actions .button:focus-visible {
	-webkit-text-fill-color: #111211 !important;
	background: #ffffff !important;
	border-color: #111211 !important;
	color: #111211 !important;
}

.hgt-investment-site .elementor-widget-hgt_hero .hgt-ew-hero:is(.hero, .page-hero, .resources-hero) .hero-actions .button:focus-visible,
.hgt-investment-site .elementor-widget-hgt_hero .hgt-ew-hero:is(.hero, .page-hero, .resources-hero) .hero-actions .text-link:focus-visible {
	outline: 3px solid #faf5e5 !important;
	outline-offset: 3px;
}

.hgt-investment-site .elementor-widget-hgt_hero .hgt-ew-hero:is(.hero, .page-hero, .resources-hero) .hero-actions .text-link {
	-webkit-text-fill-color: #111211 !important;
	border-bottom-color: #faf5e5 !important;
	color: #111211 !important;
	opacity: 1 !important;
	visibility: visible !important;
}

.hgt-investment-site .elementor-widget-hgt_hero .hgt-ew-hero:is(.hero, .page-hero, .resources-hero) .hero-actions .text-link:hover {
	-webkit-text-fill-color: #ffffff !important;
	border-bottom-color: #ffffff !important;
	color: #ffffff !important;
}

/* Scoped WoodMart resistance for HGT-owned light surfaces. */
.hgt-investment-site :where(
	.hgt-editorial-card,
	.hgt-editorial-content,
	.cms-page__content,
	.hgt-ew-card,
	.hgt-enquiry-form,
	.hgt-login-card,
	.hgt-auth-modal__dialog,
	.hgt-team-auth-modal__dialog,
	.hgt-global-enquiry-modal__dialog,
	.profile-modal__dialog,
	.catalogue-modal__dialog,
	.knowledge-modal__dialog,
	.sesame-catalogue-modal__dialog
) :where(h1, h2, h3, h4, p, li, dt, dd, label, legend, cite, address, time, strong) {
	-webkit-text-fill-color: var(--hgt-readable);
	color: var(--hgt-readable);
	opacity: 1;
	visibility: visible;
}

.hgt-investment-site :where(.site-header, .site-footer) :where(a, p, span, address, strong),
.hgt-investment-site :where(.hgt-editorial-card, .hgt-editorial-content, .cms-page__content) :where(a:not(.button), time) {
	opacity: 1;
	visibility: visible;
}

.hgt-investment-site :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
	-webkit-text-fill-color: var(--hgt-readable);
	background: var(--hgt-surface);
	border: 1px solid #737a76;
	box-sizing: border-box;
	color: var(--hgt-readable);
	font-family: var(--sans, "Manrope", sans-serif);
	font-size: 1rem;
	line-height: 1.4;
	min-height: 3rem;
	opacity: 1;
	visibility: visible;
}

.hgt-investment-site :where(input, select, textarea):focus-visible {
	border-color: var(--hgt-action-background);
	box-shadow: 0 0 0 3px rgba(96, 135, 90, .2);
	outline: 2px solid transparent;
}

/* Remove only legacy decorative section artwork and its artificial spacing. */
.hgt-investment-site :where(
	.hero,
	.page-hero,
	.cta,
	.leadership,
	.hemp-genetics,
	.seed-services,
	.contact-enquiries,
	.hemp-licensing,
	.knowledge-hub__hero,
	.resources-hero,
	.sesame-genetics,
	.sesame-commercialisation,
	.brand-page .section--ivory
)::before,
.hgt-investment-site :where(
	.hero,
	.page-hero,
	.cta,
	.leadership,
	.hemp-genetics,
	.seed-services,
	.contact-enquiries,
	.hemp-licensing,
	.knowledge-hub__hero,
	.resources-hero,
	.sesame-genetics,
	.sesame-commercialisation,
	.brand-page .section--ivory
)::after {
	content: none !important;
	display: none !important;
}

.hgt-investment-site .hero {
	min-height: 0;
}

.hgt-investment-site .hero__inner {
	padding-block: clamp(5rem, 10vw, 8.5rem);
}

.hgt-investment-site .page-hero,
.hgt-investment-site .hgt-editorial-hero {
	padding-block: clamp(4.5rem, 8vw, 7rem);
}

.hgt-investment-site :where(.section, .hgt-editorial-listing, .hgt-editorial-content) {
	padding-block: clamp(4rem, 7vw, 7rem);
}

/* Comparable cards align without clipping variable-length approved content. */
.hgt-investment-site :where(.card, .hgt-editorial-card, .hgt-ew-card, .knowledge-card, .resource-card, .contact-enquiry-card, .genetics-card) {
	box-sizing: border-box;
	height: auto;
	min-width: 0;
}

.hgt-investment-site :where(.card, .hgt-editorial-card, .hgt-ew-card) :where(h2, h3, p, li, dd) {
	max-width: 100%;
	overflow-wrap: break-word;
}

/* Modal shells stay inside every tested viewport and scroll internally. */
.hgt-investment-site :where(
	.profile-modal,
	.catalogue-modal,
	.knowledge-modal,
	.sesame-catalogue-modal,
	.hgt-team-auth-modal,
	.genetics-auth-modal,
	.hgt-global-enquiry-modal
) {
	box-sizing: border-box;
	overscroll-behavior: contain;
}

.hgt-investment-site :where(
	.profile-modal__dialog,
	.catalogue-modal__dialog,
	.knowledge-modal__dialog,
	.sesame-catalogue-modal__dialog,
	.hgt-team-auth-modal__dialog,
	.genetics-auth-modal__dialog,
	.hgt-global-enquiry-modal__dialog
) {
	box-sizing: border-box;
	max-height: calc(100dvh - 2rem);
	overflow-y: auto;
	overflow-x: hidden;
	overscroll-behavior: contain;
}

@media (max-width: 768px) {
	.hgt-investment-site :where(.cta__inner, .hgt-team-access, .hemp-genetics__catalogue) {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (max-width: 620px) {
	.hgt-investment-site .shell {
		width: min(calc(100% - 2.5rem), var(--shell, 1200px));
	}

	.hgt-investment-site :where(main h1) {
		font-size: clamp(2.15rem, 11vw, 3rem);
	}

	.hgt-investment-site :where(main h2) {
		font-size: clamp(1.8rem, 8vw, 2.45rem);
	}

	.hgt-investment-site :where(
		.hero__inner,
		.page-hero,
		.hgt-editorial-hero,
		.section,
		.hgt-editorial-listing,
		.hgt-editorial-content
	) {
		padding-block: 4rem;
	}

	.hgt-investment-site :where(
		.profile-modal,
		.catalogue-modal,
		.knowledge-modal,
		.sesame-catalogue-modal,
		.hgt-team-auth-modal,
		.genetics-auth-modal,
		.hgt-global-enquiry-modal
	) {
		align-items: stretch;
		padding: .5rem;
	}

	.hgt-investment-site :where(
		.profile-modal__dialog,
		.catalogue-modal__dialog,
		.knowledge-modal__dialog,
		.sesame-catalogue-modal__dialog,
		.hgt-team-auth-modal__dialog,
		.genetics-auth-modal__dialog,
		.hgt-global-enquiry-modal__dialog
	) {
		max-height: calc(100dvh - 1rem);
		max-width: 100%;
	}

	.hgt-investment-site :where(
		.button:not(.hgt-ew-button--custom),
		.hgt-editorial-card__read-more,
		.hgt-resource-source-link--primary,
		.contact-form button[type="submit"]
	) {
		max-width: 100%;
		white-space: normal;
	}
}

@media (max-width: 375px) {
	.hgt-investment-site .shell {
		width: min(calc(100% - 2rem), var(--shell, 1200px));
	}

	.hgt-investment-site :where(.hgt-editorial-card__body, .card, .hgt-ew-card__body) {
		padding-inline: 1.15rem;
	}
}

@media (max-width: 320px) {
	.hgt-investment-site :where(main h1) {
		font-size: 2rem;
	}

	.hgt-investment-site :where(main h2) {
		font-size: 1.7rem;
	}
}
/* Scoped regression fixes: shared header logo sizing. */
.hgt-investment-site .header-inner {
	min-height: 86px;
}

.hgt-investment-site .custom-logo-link,
.hgt-investment-site .site-branding__fallback {
	height: 68px;
	max-width: 190px;
}

.hgt-investment-site .custom-logo {
	background: transparent;
	height: 68px;
	max-height: 68px;
	max-width: 190px;
	object-fit: contain;
	width: auto;
}

@media (max-width: 1100px) {
	.hgt-investment-site .header-inner {
		min-height: 78px;
	}

	.hgt-investment-site .custom-logo-link,
	.hgt-investment-site .site-branding__fallback {
		height: 60px;
		max-width: 170px;
	}

	.hgt-investment-site .custom-logo {
		height: 60px;
		max-height: 60px;
		max-width: 170px;
	}
}

@media (max-width: 620px) {
	.hgt-investment-site .header-inner {
		min-height: 72px;
	}

	.hgt-investment-site .custom-logo-link,
	.hgt-investment-site .site-branding__fallback {
		height: 54px;
		max-width: 145px;
	}

	.hgt-investment-site .custom-logo {
		height: 54px;
		max-height: 54px;
		max-width: 145px;
	}
}