/* Root */

/* Prevent horizontal overflow */
html,
body {
	overflow-x: hidden;
}

#menu-main-menu .nav-item a:not(.dropdown-menu a) {
	color: white !important;
}

.font-size-20 {
	font-size: 20px !important;
}


.custom-container-50 {
	width: 50vw;
	max-width: 50vw;
	margin: 0 auto;
}

.custom-header-size-1 {
	font-size: 1rem !important;
}

.custom-header-size-2 {
	font-size: 2rem !important;
}

.custom-header-size-3 {
	font-size: 3rem !important;
}

.custom-header-size-4 {
	font-size: 4rem !important;
}

.custom-container-50 h2 {
	padding-bottom: 1rem;
	font-weight: bold;
	color: #0d6efd;
	/* Bootstrap primary colour */
}

/* Homepage Styling */

.home-hero-get-started-btn {
	width: 50%;
	margin: 0 auto;
	display: block;
}

@media (min-width: 1024px) {
	.home-hero-get-started-btn {
		width: 200px;
		margin: 0;
		/* Removes centering on desktop */
	}
}



.hero {
	padding-top: 9.5rem !important;
}

/* Hero Section */
.hero-slant {
	position: relative;
	padding-top: 8rem;
	padding-bottom: 8rem;
	overflow: visible;
	z-index: 1;
}

/* Slanted Background */
.hero-slant::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--bs-secondary);
	clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
	z-index: 0;
}

/* Hero Content */
.hero-slant .container {
	position: relative;
	z-index: 2;
	color: white;
}

/* Hero Image Layer - Desktop */
.hero-img-wrap {
	position: absolute;
	bottom: -4rem;
	right: 0;
	width: 45%;
	z-index: 3;
	pointer-events: none;
}

.hero-img {
	width: 100%;
	transform: rotate(-8deg);
}

/* Section 2 */
.section2 {
	position: relative;
	padding: 5rem 0;
	background: #f8f9fa;
	z-index: 0;
}

/* --- Responsive Tweaks --- */
@media (max-width: 992px) {
	.hero-slant {
		padding-top: 6rem;
		padding-bottom: 6rem;
		text-align: center;
	}

	.hero-slant .container {
		text-align: center;
	}

	.hero-slant .row {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.hero-slant .col-lg-6 {
		flex: 0 0 100%;
		max-width: 100%;
		width: 100%;
		text-align: center;
	}

	/* Image goes below text on mobile */
	.hero-slant .col-lg-6:first-child {
		order: 1;
	}

	.hero-slant .col-lg-6:last-child {
		order: 2;
	}

	/* Reset image positioning on mobile */
	.hero-img-wrap {
		position: relative;
		width: 90%;
		bottom: 0;
		right: 0;
		transform: none;
		pointer-events: auto;
	}

	.hero-img {
		transform: rotate(0);
	}
}

@media (max-width: 576px) {
	.hero-slant {
		padding-top: 4rem;
		padding-bottom: 4rem;
	}

	.hero-img-wrap {
		width: 95%;
	}

	h1.display-5 {
		font-size: 1.75rem;
	}

	p.lead,
	p {
		font-size: 1rem;
	}

	.hero-text-column-1 {
		padding-top: 2rem !important;
	}

	.hero-image-column-2 {
		margin-bottom: -7rem !important;
	}
}

/* Trusted By Carousel */
.trusted-logo {
	height: 60px;
	/* Ensures consistent height */
	width: auto;
	/* Maintain aspect ratio */
	object-fit: contain;
	/* Prevent distortion */
	transition: filter 0.3s ease;
}

.trusted-logo:hover {
	filter: grayscale(0%) opacity(1);
}

/* Optional: center slides vertically */
.splide__slide {
	display: flex;
	justify-content: center;
	align-items: center;
}

.rank-math-breadcrumb a {
	color: white !important;
	text-decoration: none !important;
}

.rank-math-breadcrumb a:hover {
	color: var(--bs-primary) !important;
}

.list-group-item {
	margin-top: 1rem !important;
	background-color: red !important;
}

.product-hero {
	position: relative;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	height: 70vh;
	min-height: 500px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.product-hero-overlay {
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.75) 100%);
	z-index: 1;
}

.product-hero .hero-content {
	z-index: 2;
	max-width: 800px;
	margin: 0 auto;
	padding-top: calc(var(--header-height, 80px) + 1rem);
}

.product-hero .text-shadow {
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.product-hero .max-w-600 {
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.breadcrumb-transparent .breadcrumb-item+.breadcrumb-item::before {
	color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-transparent .breadcrumb-item a {
	color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-transparent .breadcrumb-item a:hover {
	color: #fff;
}

@media (max-width: 991px) {
	.product-hero {
		height: auto;
		min-height: 400px;
		padding: 4rem 1rem 3rem;
	}

	.product-hero .hero-content h1 {
		font-size: 2rem;
	}
}

.author-card {
	background-color: #e9f4f7;
	/* light blue background like screenshot */
	border-radius: 12px;
	box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.2);
	/* subtle "drop shadow" bottom-right */
	border: none;
}

.author-card .card-body {
	padding: 2rem;
}

.author-card h2 {
	font-size: 1.1rem;
}

.author-card p {
	line-height: 1.5;
}

/* ========================= Insights Page Styling ========================= */

.tangible-paginator-button {
	font-size: 1.1rem !important;
	/* Slightly smaller text */
	padding: 0.5rem 1rem !important;
	/* Tighter padding */
	margin: 0 0.25rem !important;
	border: 2px solid !important;
	border-color: currentColor !important;
	/* Matches .border-primary */
	color: currentColor !important;
	/* Matches .text-primary */
	background-color: transparent !important;
	border-radius: 0.5rem !important;
	cursor: pointer !important;
	transition: all 0.2s ease-in-out !important;
}

.tangible-paginator-button:hover:not([disabled]),
.tangible-paginator-button.active {
	background-color: var(--bs-primary) !important;
	/* Uses .bg-primary */
	border-color: var(--bs-primary) !important;
	color: #fff !important;
}

.tangible-paginator-button[disabled],
.tangible-paginator-button:hover[disabled] {
	color: #999 !important;
	border-color: #ccc !important;
	cursor: not-allowed !important;
}

.tangible-paginator-buttons .tangible-paginator-button:first-child {
	border-bottom-left-radius: 4px !important;
	border-top-left-radius: 4px !important;
}



/* Featured image styles */
.featured-image-wrapper {
	position: relative;
	width: 100%;
	height: 600px;
	overflow: hidden;
	margin-bottom: 0;
}

.featured-image {
	width: 100%;
	height: 600px;
	object-fit: cover;
	display: block;
}

.featured-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #373547;
	/* UK spelling tolerated, but for CSS use 'background-color' too */
	background-color: #373547;
	opacity: 0.7;
	z-index: 1;
}

.featured-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
	padding: 1rem;
	width: 100%;
	max-width: 800px;
}

/* Sticky box styles */
#container-content-single.content-with-sticky-left .sticky-box {
	background: #FFF6F6;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

/* Ensure no ancestor breaks sticky */
#container-content-single,
#container-content-single .custom-flex-row,
#container-content-single .sticky-column {
	overflow: visible;
}

/* Flexbox layout for sidebar + content */
#container-content-single .custom-flex-row {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: 3rem;
	/* Increased gap between sticky column & content */
}

/* Sticky column configuration */
#container-content-single .sticky-column {
	flex: 0 0 35%;
	/* Similar to col-md-5 */
	max-width: 500px;
	position: sticky;
	/* make the column itself sticky */
	top: 8rem;
	/* adjust based on your fixed header height */
	align-self: flex-start;
	height: fit-content;
	z-index: 2;
}

/* Inner aside is normal flow */
#container-content-single .sticky-column aside {
	position: static;
}

/* Main content column */
#container-content-single .content-column {
	flex: 1;
	min-width: 0;
	/* Prevents overflow issues */
}

/* Responsive tweaks */
@media (max-width: 991px) {
	.featured-image-wrapper {
		height: 400px;
	}

	.featured-image {
		height: 400px;
	}

	.featured-content h1 {
		font-size: 1.75rem;
	}

	#container-content-single .custom-flex-row {
		flex-direction: column;
		gap: 1.5rem;
		/* Better spacing for mobile */
	}

	#container-content-single .sticky-column,
	#container-content-single .content-column {
		width: 100%;
		max-width: 100%;
	}

	/* Disable stickiness on small screens */
	#container-content-single .sticky-column {
		position: static;
		top: auto;
	}
}

.article-post-content h2 {
	color: var(--bs-primary) !important;
	font-weight: bold !important;
	font-size: 2rem !important;
}

.article-post-content h3 {
	color: var(--bs-primary) !important;
	font-weight: bold !important;
	font-size: 1.5rem !important;
}

.article-post-content h4 {
	color: var(--bs-primary) !important;
	font-weight: bold !important;
}

.tldr-card {
	background-color: #e9f4f7;
	border-radius: 12px;
	box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.2);
	border: none;
}

.sticky-box {
	background-color: #FEF5F6 !important;
}

/* Scoped only to this block */
.related-articles-grid {
	/* Custom properties allow quick tuning without hunting through CSS */
	--ra-image-height: 220px;
	--ra-radius: 0.75rem;
	--ra-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
	--ra-shadow-hover: 0 10px 32px rgba(0, 0, 0, 0.10);
	--ra-body-pad: 1rem;
	--ra-gap: 0.5rem;
}

.related-articles-grid .ra-card {
	display: flex;
	flex-direction: column;
	border: 1px solid rgba(0, 0, 0, 0.06);
	border-radius: var(--ra-radius);
	overflow: hidden;
	box-shadow: var(--ra-shadow);
	transition: transform 160ms ease, box-shadow 160ms ease;
	background: #fff;
}

.related-articles-grid .ra-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--ra-shadow-hover);
}

.related-articles-grid .ra-card-img {
	width: 100%;
	height: var(--ra-image-height);
	/* consistent height */
	object-fit: cover;
	/* fill and crop */
	object-position: center center;
	/* centre the crop */
	display: block;
}

.related-articles-grid .ra-card-body {
	flex: 1;
	/* equal heights across grid */
	padding: var(--ra-body-pad);
	display: flex;
	flex-direction: column;
	gap: var(--ra-gap);
}

.related-articles-grid .ra-card-title {
	margin: 0;
	font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
	line-height: 1.25;
}

.related-articles-grid .ra-card-link {
	text-decoration: none;
	color: inherit;
	border-bottom: 1px solid transparent;
	transition: border-color 140ms ease, color 140ms ease;
}

.related-articles-grid .ra-card-link:hover,
.related-articles-grid .ra-card-link:focus {
	color: var(--color-brand-red) !important;
	text-decoration: none !important;
	/* Bootstrap primary */
	border-color: currentColor;
	outline: none;
}

.related-articles-grid .ra-card-excerpt {
	color: #5c636a;
	font-size: 0.95rem;
	line-height: 1.5;
	/* Tidy multi-line clamp without JS; gracefully degrades */
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Optional: larger images on wider screens */
@media (min-width: 992px) {
	.related-articles-grid {
		--ra-image-height: 240px;
	}
}

/* Container */
.wcmamtx_vertical {
	list-style: none;
	margin: 0;
	margin-top: 20px;
	padding: 0;
	width: 100%;
	max-width: 280px;
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
	overflow: hidden;
	font-family: "Poppins", sans-serif;
}

/* List items */
.wcmamtx_vertical li {
	border-bottom: 1px solid #eee;
}

.wcmamtx_vertical li:last-child {
	border-bottom: none;
}

/* Links */
.wcmamtx_vertical .woocommerce-MyAccount-navigation-link_a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
	text-decoration: none;
	color: var(--bs-secondary);
	font-weight: 500;
	font-size: 15px;
	transition: all 0.25s ease-in-out;
	background: transparent;
}

/* Icons */
.wcmamtx_vertical .woocommerce-MyAccount-navigation-link_a i {
	font-size: 18px;
	width: 22px;
	text-align: center;
	color: var(--bs-secondary);
	transition: color 0.25s ease-in-out, transform 0.2s;
}

/* Text */
.wcmamtx_vertical .wcmamtx_sticky_icon_name {
	flex-grow: 1;
}

/* Hover effect */
.wcmamtx_vertical .woocommerce-MyAccount-navigation-link_a:hover {
	background-color: rgba(220, 53, 69, 0.08);
	/* subtle red tint */
	color: var(--bs-primary);
}

.wcmamtx_vertical .woocommerce-MyAccount-navigation-link_a:hover i {
	color: var(--bs-primary);
	transform: translateX(3px);
}

/* Active state */
.wcmamtx_vertical .woocommerce-MyAccount-navigation-link.is-active a,
.wcmamtx_vertical .woocommerce-MyAccount-navigation-link.is-active .woocommerce-MyAccount-navigation-link_a {
	background-color: var(--bs-primary);
	color: #fff;
}

.wcmamtx_vertical .woocommerce-MyAccount-navigation-link.is-active i {
	color: #fff;
}

/* Logout link (uses red for clarity but lighter background on hover) */
.wcmamtx_vertical .woocommerce-MyAccount-navigation-link--customer-logout a {
	color: var(--bs-primary);
}

.wcmamtx_vertical .woocommerce-MyAccount-navigation-link--customer-logout a:hover {
	background-color: rgba(220, 53, 69, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.wcmamtx_vertical {
		max-width: 100%;
		border-radius: 0;
	}

	.wcmamtx_vertical .woocommerce-MyAccount-navigation-link_a {
		padding: 12px 16px;
		font-size: 14px;
	}
}

.fhm-audit-wrapper {
	margin-top: -100px !important;

}

.page-id-301 .navbar {
	background-color: #373647 !important;
}

/* WooCommerce Login/Register Responsive Styling */

/* Heading styling */
.woocommerce-account h2,
.woocommerce form h2,
.woocommerce h2 {
	text-align: center;
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 20px;
	color: var(--bs-primary) !important;
}

/* Container adjustments */
.woocommerce form.login,
.woocommerce form.register {
	max-width: 600px;
	margin: 0 auto;
	padding: 20px;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Form field spacing */
.woocommerce form .form-row {
	margin-bottom: 15px;
}

.woocommerce form input.input-text,
.woocommerce form input[type="email"],
.woocommerce form input[type="password"],
.woocommerce form input[type="text"],
.woocommerce form input[type="url"] {
	width: 100%;
	padding: 12px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 16px;
}

/* Buttons */
.woocommerce form .button {
	width: 100%;
	padding: 12px;
	font-size: 18px;
	border-radius: 6px;
	background: #2e77d0;
	color: #fff;
	border: none;
	cursor: pointer;
	transition: background .3s ease;
}

.woocommerce form .button:hover {
	background: #1e5ca3;
}

/* Label visibility and readability */
.woocommerce form label {
	font-size: 15px;
	font-weight: 600;
	display: block;
	margin-bottom: 6px;
}

/* Force single-column layout */
.woocommerce form .form-row-first,
.woocommerce form .form-row-last {
	width: 100% !important;
	float: none !important;
	clear: both;
}

/* Mobile layout tweaks */
@media (max-width: 480px) {

	.woocommerce form.login,
	.woocommerce form.register {
		padding: 15px;
	}

	.woocommerce form .button {
		font-size: 16px;
		padding: 10px;
	}

	.woocommerce form input.input-text {
		font-size: 15px;
		padding: 10px;
	}
}

/* Optional: add spacer between login/register tabs if both displayed */
.woocommerce-account .woocommerce>.u-columns {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.woocommerce-account .u-column1,
.woocommerce-account .u-column2 {
	flex: 1 1 100%;
}

@media (min-width: 768px) {

	.woocommerce-account .u-column1,
	.woocommerce-account .u-column2 {
		flex: 1 1 45%;
	}
}

.service-box {
	position: relative;
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	cursor: pointer;
}

.service-box-image {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transition: opacity 0.3s ease, transform 0.3s ease;
	z-index: 1;
}

.service-box-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(255, 255, 255, 0.6);
	opacity: 0;
	transition: opacity 0.3s ease;
	z-index: 2;
}

.service-box-content {
	position: relative;
	z-index: 3;
	transition: color 0.3s ease;
	color: #000 !important;
}

.service-box-content h5,
.service-box-content p {
	color: #000 !important;
}

.service-box:hover i {
	opacity: 0;
}

.service-box:hover .service-box-image {
	opacity: 1;
	transform: scale(1.05);
}

.service-box:hover .service-box-overlay {
	opacity: 1;
}

.service-box:hover .service-box-content,
.service-box:hover .service-box-content h5,
.service-box:hover .service-box-content p {
	color: #000 !important;
}

.service-box a {
	display: block;
	height: 100%;
}

/* Hover behaviour for menu items */
.mega-menu-hover {
	transition: all 0.25s ease-in-out;
	border-radius: 8px;
	padding: 6px;
}

.mega-menu-hover:hover {
	background: var(--bs-primary);
	color: #fff !important;
}

.mega-menu-hover:hover .mega-icon {
	background: #fff !important;
	color: var(--bs-primary) !important;
}

.mega-menu-hover:hover a {
	color: #fff !important;
	text-decoration: none;
}

.offcanvas-body .menu-item a {
	color: black !important;
}