﻿/* Static site fixes */

/* Section title circles */
.elementor-element-ff09fc9 .content .title:before {
	left: -4px;
	top: -8px;
	width: 44px;
	height: 44px;
	border-radius: 44px;
}

.elementor-element-7412363 .content .title:before,
.elementor-element-c8d5f02 .content .title:before {
	left: -4px;
	top: -6px;
	width: 34px;
	height: 34px;
	border-radius: 34px;
}

.elementor-element-24493e4 .content .title:before {
	left: -4px;
	top: -7px;
	width: 38px;
	height: 38px;
	border-radius: 38px;
}

/* Sidebar nav icons */
.header .top-menu ul li a .icon {
	display: block;
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
}

.header .top-menu ul li a .icon.far {
	font-family: "Font Awesome 5 Free";
	font-weight: 400;
}

.header .top-menu ul li a .icon.fas {
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
}

.header .top-menu ul li a .icon.fab {
	font-family: "Font Awesome 5 Brands";
	font-weight: 400;
}

.header .top-menu ul li a .icon[class*="ion-"] {
	font-family: "Ionicons";
	font-weight: normal;
	font-style: normal;
}

/* Profile social icons */
.card-started .profile .social a .fab {
	font-family: "Font Awesome 5 Brands";
	font-weight: 400;
	font-style: normal;
}

.card-started .profile .social a .fab.fa-facebook:before {
	content: "\f09a";
}

.card-started .profile .social a .fab.fa-linkedin:before {
	content: "\f08c";
}

/* Profile button icons (match live site ionicons) */
.lnks a .ion {
	font-family: "Ionicons";
	font-weight: normal;
	font-style: normal;
	display: inline-block;
}

/* Blog grid on home Updates panel: isotope inits while hidden and stacks all posts */
#card-updates .blog-grid .grid-items {
	height: auto !important;
}

#card-updates .blog-grid .grid-items .grid-item {
	position: relative !important;
	left: auto !important;
	top: auto !important;
	transform: none !important;
}

/* Client logos — keep original grid, centre all logos in their cells */
.client-items .client-item {
	height: 150px;
	align-items: center;
	justify-content: center;
}

.client-items .client-item .image {
	width: 100%;
	text-align: center;
}

.client-items .client-item img {
	max-width: 150px;
	max-height: 130px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.client-items .client-item img[src*="Global.png"] {
	max-width: 150px;
	max-height: 70px;
}

.client-items .client-item img[src*="TheBeardLens"] {
	max-width: 120px;
	max-height: 140px;
}

/* Testimonials: centre quote and author under it */
.content.testimonials .revs-carousel {
	margin-left: auto;
	margin-right: auto;
}

.content.testimonials .swiper-container .swiper-slide {
	display: flex;
	justify-content: center;
}

.content.testimonials .revs-item {
	margin: 0 auto;
}

.content.testimonials .revs-item .user .info {
	text-align: center;
	width: 100%;
}

/* NZ Govt logo is white — needs dark background and contained thumbnail sizing */
.box-item .image:has(img[src*="NZGovt-logo"]),
.post-thumbnail:has(img[src*="NZGovt-logo"]) {
	background: #000;
}

.blog .box-item .image img[src*="NZGovt-logo"],
.elementor .blog .box-item .image img[src*="NZGovt-logo"],
#card-updates .box-item .image img[src*="NZGovt-logo"] {
	height: 180px;
	width: 100%;
	object-fit: contain;
	object-position: center;
	padding: 14px 20px;
	box-sizing: border-box;
	background-color: #000;
}

img[src*="NZGovt-logo"].wp-post-image {
	max-height: 280px;
	width: 100%;
	object-fit: contain;
	object-position: center;
	padding: 24px;
	box-sizing: border-box;
	background-color: #000;
}
