/*
Theme Name: Here4Homes
Theme URI: https://here4homes.uk/
Template: neve
Author: Latitude60
Description: Here4Homes child theme for Neve.
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: here4homes
*/

:root {
	--h4h-navy: #06243b;
	--h4h-teal: #30bb99;
	--h4h-mist: #f5f8fa;
	--h4h-line: #dce7ec;
}

.site-logo h1,
.site-logo p {
	font-size: 2em;
	font-weight: var(--h1fontweight);
	line-height: var(--bodylineheight);
	letter-spacing: var(--bodyletterspacing);
	text-transform: none;
	margin: 0;
}

.h4h-default-logo {
	display: inline-flex;
	align-items: center;
	line-height: 0;
}

.h4h-default-logo img {
	display: block;
	width: min(340px, 68vw);
	height: auto;
}

.h4h-header-banner {
	width: 100%;
	background: #86ad8e;
	border-top: 1px solid var(--h4h-line);
	border-bottom: 1px solid var(--h4h-line);
	overflow: hidden;
}

.h4h-header-banner img {
	display: block;
	width: 100%;
	height: clamp(120px, 18vw, 260px);
	object-fit: cover;
	object-position: center;
}

.footer-bottom-inner .row {
	display: none;
}

.nv-single-post-wrap > div:first-child {
	margin-top: 20px !important;
}

.entry-header {
	text-align: var(--textalign, center);
	margin-top: 0 !important;
	margin-bottom: 20px !important;
}

.nv-page-title-wrap {
	margin-top: 20px !important;
}

.neve-breadcrumbs-wrapper {
	display: none;
}

blockquote {
	margin: 10px 0 20px 40px;
	border-color: var(--h4h-teal) !important;
	border-style: solid;
	border-width: 0 0 0 15px;
	padding: 12px;
	background: var(--h4h-mist) !important;
}

.button-secondary {
	font-weight: 600 !important;
	font-size: 14px !important;
	padding: 8px !important;
}

.h4h-trade-hero {
	border: 1px solid var(--h4h-line);
	border-top: 6px solid var(--h4h-teal);
	background: #f7fbfa;
	padding: clamp(24px, 5vw, 48px);
	margin-block: 24px 32px;
	box-shadow: 0 18px 48px rgba(6, 36, 59, .08);
}

.h4h-bottom-cta {
	padding-block: 18px;
	margin-block: 24px;
}

.h4h-trade-hero h1,
.h4h-bottom-cta h2 {
	color: var(--h4h-navy);
	margin-bottom: 12px;
}

.h4h-hero-intro {
	max-width: 760px;
	font-size: 1.18rem;
	margin-bottom: 22px;
}

.h4h-cta-note {
	margin-top: 12px;
	color: var(--h4h-navy);
	font-weight: 700;
	font-size: 1rem;
}

.h4h-cta-smallprint {
	margin-top: 4px;
	color: #3b5260;
	font-size: .96rem;
}

.h4h-primary-cta .wp-block-button__link {
	background: var(--h4h-teal);
	color: #fff;
	font-weight: 800;
	padding: 14px 26px;
	border-radius: 6px;
	box-shadow: 0 10px 24px rgba(48, 187, 153, .26);
	text-shadow: 0 1px 1px rgba(6, 36, 59, .22);
}

.h4h-primary-cta .wp-block-button__link:hover,
.h4h-primary-cta .wp-block-button__link:focus {
	background: var(--h4h-navy);
	color: #fff;
}

.h4h-trade-image img {
	border-radius: 6px;
}

.h4h-home-wrap {
	margin-inline: auto;
	width: min(1120px, calc(100% - 40px));
}

.h4h-home-hero {
	background:
		linear-gradient(90deg, rgba(247, 251, 250, .98) 0%, rgba(247, 251, 250, .9) 58%, rgba(247, 251, 250, .68) 100%),
		url("assets/here4homes-header-banner.png") center / cover no-repeat;
	border-bottom: 1px solid var(--h4h-line);
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: clamp(44px, 7vw, 86px) 0;
	width: 100vw;
}

.h4h-home-hero__inner {
	max-width: 900px;
}

.h4h-home-kicker,
.h4h-section-heading p {
	color: var(--h4h-teal);
	font-size: .84rem;
	font-weight: 900;
	letter-spacing: .04em;
	margin: 0 0 8px;
	text-transform: uppercase;
}

.h4h-home-hero h1 {
	color: var(--h4h-navy);
	font-size: clamp(2.2rem, 5vw, 4.4rem);
	line-height: 1.02;
	margin-bottom: 16px;
	max-width: 860px;
}

.h4h-home-intro {
	color: #243947;
	font-size: clamp(1.05rem, 2vw, 1.28rem);
	line-height: 1.65;
	max-width: 740px;
}

.h4h-trade-search {
	background: #fff;
	border: 1px solid var(--h4h-line);
	border-radius: 8px;
	box-shadow: 0 18px 44px rgba(6, 36, 59, .12);
	margin-top: 26px;
	max-width: 760px;
	padding: 16px;
}

.h4h-trade-search label {
	color: var(--h4h-navy);
	display: block;
	font-weight: 900;
	margin-bottom: 8px;
}

.h4h-trade-search input {
	background: #fff;
	border: 2px solid var(--h4h-teal);
	border-radius: 6px;
	color: var(--h4h-navy);
	font-size: 1.08rem;
	min-height: 52px;
	padding: 12px 14px;
	width: 100%;
}

.h4h-trade-search__results {
	background: #fff;
	border: 1px solid var(--h4h-line);
	border-radius: 6px;
	box-shadow: 0 12px 30px rgba(6, 36, 59, .1);
	display: none;
	margin-top: 8px;
	max-height: 340px;
	overflow: auto;
	padding: 8px;
}

.h4h-trade-search__results.is-open {
	display: block;
}

.h4h-trade-search__results a {
	border-radius: 4px;
	color: var(--h4h-navy);
	display: block;
	font-weight: 700;
	padding: 9px 10px;
	text-decoration: none;
}

.h4h-trade-search__results a:hover,
.h4h-trade-search__results a:focus {
	background: #ecf8f5;
	color: var(--h4h-navy);
}

.h4h-home-proof {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

.h4h-home-proof span {
	background: rgba(255, 255, 255, .92);
	border: 1px solid var(--h4h-line);
	border-radius: 999px;
	color: #3b5260;
	padding: 8px 14px;
}

.h4h-home-proof strong {
	color: var(--h4h-navy);
}

.h4h-home-section {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: clamp(34px, 6vw, 62px) 0;
	width: 100vw;
}

.h4h-home-section--popular,
.h4h-home-section--categories {
	background: #fff;
}

.h4h-home-section--steps,
.h4h-home-section--advice {
	background: #f5f8fa;
	border-block: 1px solid var(--h4h-line);
}

.h4h-section-heading {
	margin-bottom: 20px;
}

.h4h-section-heading h2,
.h4h-advice-band h2 {
	color: var(--h4h-navy);
	margin: 0;
}

.h4h-home-card-grid {
	display: grid;
	gap: 16px;
}

.h4h-home-card-grid--popular {
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.h4h-home-card-grid--categories {
	grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
}

.h4h-home-card {
	background: #fff;
	border: 1px solid var(--h4h-line);
	border-radius: 8px;
	box-shadow: 0 12px 30px rgba(6, 36, 59, .06);
	color: var(--h4h-navy);
	display: flex;
	flex-direction: column;
	min-height: 138px;
	overflow: hidden;
	position: relative;
	text-decoration: none;
}

.h4h-home-card::before {
	background:
		linear-gradient(180deg, rgba(6, 36, 59, 0) 0%, rgba(6, 36, 59, .34) 100%),
		var(--h4h-card-image) center / cover no-repeat;
	content: "";
	display: block;
	height: 86px;
}

.h4h-home-card span {
	font-weight: 900;
	line-height: 1.2;
	padding: 13px 14px 2px;
}

.h4h-home-card small {
	color: #5c6c75;
	font-size: .88rem;
	padding: 0 14px 14px;
}

.h4h-home-card:hover,
.h4h-home-card:focus {
	border-color: var(--h4h-teal);
	box-shadow: 0 16px 40px rgba(6, 36, 59, .11);
	transform: translateY(-1px);
}

.h4h-step-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.h4h-step-grid article {
	background: #fff;
	border: 1px solid var(--h4h-line);
	border-radius: 8px;
	padding: 22px;
}

.h4h-step-grid span {
	background: var(--h4h-teal);
	border-radius: 50%;
	color: #fff;
	display: inline-grid;
	font-weight: 900;
	height: 34px;
	margin-bottom: 12px;
	place-items: center;
	text-shadow: 0 1px 1px rgba(6, 36, 59, .22);
	width: 34px;
}

.h4h-step-grid h3 {
	color: var(--h4h-navy);
	margin: 0 0 8px;
}

.h4h-step-grid p {
	margin: 0;
}

.h4h-advice-band {
	align-items: start;
	display: grid;
	gap: 28px;
	grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr);
}

.h4h-advice-band ul {
	background: #fff;
	border: 1px solid var(--h4h-line);
	border-radius: 8px;
	list-style: none;
	margin: 0;
	padding: 18px 20px;
}

.h4h-advice-band li {
	border-bottom: 1px solid var(--h4h-line);
	margin: 0;
	padding: 10px 0;
}

.h4h-advice-band li:last-child {
	border-bottom: 0;
}

@media (max-width: 760px) {
	.h4h-home-wrap {
		width: min(100% - 28px, 1120px);
	}

	.h4h-home-hero {
		background:
			linear-gradient(180deg, rgba(247, 251, 250, .98) 0%, rgba(247, 251, 250, .9) 100%),
			url("assets/here4homes-header-banner.png") center / cover no-repeat;
	}

	.h4h-advice-band {
		grid-template-columns: 1fr;
	}
}

.h4h-site-footer {
	background: #f5f8fa;
	border-top: 1px solid var(--h4h-line);
	color: #3b5260;
	font-size: .92rem;
	margin-top: 48px;
}

.h4h-footer-inner {
	width: min(1120px, calc(100% - 40px));
	margin: 0 auto;
	padding: 26px 0 32px;
}

.h4h-footer-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 20px;
	margin-bottom: 18px;
}

.h4h-footer-nav a {
	color: var(--h4h-navy);
	font-weight: 700;
	text-decoration: none;
}

.h4h-footer-nav a:hover,
.h4h-footer-nav a:focus {
	color: var(--h4h-teal);
	text-decoration: underline;
}

.h4h-footer-copy {
	max-width: 920px;
}

.h4h-footer-copy p {
	margin: 0 0 10px;
}

body.home .nv-single-page-wrap,
body.home .entry-content {
	margin-top: 0;
}

body.home .nv-content-wrap {
	padding-top: 0;
}

body.home .nv-page-title-wrap,
body.home .entry-header {
	display: none;
}

body.home .h4h-home-hero {
	background:
		linear-gradient(90deg, rgba(247, 251, 250, .98) 0%, rgba(247, 251, 250, .94) 48%, rgba(247, 251, 250, .72) 100%),
		url("assets/here4homes-header-banner.png") center / cover no-repeat;
	border-bottom: 1px solid #cfe6df;
	border-top: 1px solid #e3eef2;
	margin-bottom: 0;
	padding: clamp(38px, 6vw, 72px) 0 clamp(38px, 5vw, 62px);
	position: relative;
}

body.home .h4h-home-hero::after {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
	bottom: 0;
	content: "";
	height: 44px;
	left: 0;
	position: absolute;
	right: 0;
}

body.home .h4h-home-hero__inner {
	background: rgba(255, 255, 255, .82);
	border: 1px solid rgba(220, 231, 236, .9);
	border-left: 7px solid var(--h4h-teal);
	border-radius: 8px;
	box-shadow: 0 24px 70px rgba(6, 36, 59, .13);
	max-width: 820px;
	padding: clamp(22px, 3.4vw, 36px);
	position: relative;
	z-index: 1;
}

body.home .h4h-home-kicker {
	color: #137b67;
	font-size: .8rem;
	letter-spacing: .08em;
}

body.home .h4h-home-hero h1 {
	color: var(--h4h-navy);
	font-size: clamp(2.05rem, 4.1vw, 3.65rem);
	max-width: 780px;
}

body.home .h4h-home-intro {
	color: #263d4b;
	font-size: clamp(1.05rem, 1.8vw, 1.24rem);
	margin-bottom: 0;
}

body.home .h4h-trade-search {
	border: 1px solid #cfe6df;
	border-radius: 8px;
	box-shadow: 0 18px 44px rgba(6, 36, 59, .12);
	margin-top: 22px;
	padding: clamp(16px, 2.5vw, 22px);
}

body.home .h4h-trade-search label {
	align-items: center;
	display: flex;
	gap: 8px;
	margin-bottom: 10px;
}

body.home .h4h-trade-search label::before {
	background: var(--h4h-teal);
	border-radius: 50%;
	content: "";
	height: 10px;
	width: 10px;
}

body.home .h4h-trade-search input {
	background: #fbfefd;
	border-color: #30bb99;
	box-shadow: inset 0 1px 0 rgba(6, 36, 59, .04);
}

body.home .h4h-trade-search input:focus {
	box-shadow: 0 0 0 4px rgba(48, 187, 153, .18);
	outline: 0;
}

body.home .h4h-trade-search__empty {
	color: #5c6c75;
	padding: 9px 10px;
}

body.home .h4h-home-proof {
	gap: 12px;
	margin-top: 20px;
}

body.home .h4h-home-proof span {
	background: #fff;
	border: 1px solid #cfdfd9;
	box-shadow: 0 8px 20px rgba(6, 36, 59, .06);
	color: #314b5a;
	font-size: .94rem;
}

body.home .h4h-home-section {
	padding: clamp(42px, 6vw, 76px) 0;
}

body.home .h4h-home-section--popular {
	background: #fff;
}

body.home .h4h-home-section--steps {
	background:
		linear-gradient(180deg, #f6fafb 0%, #eef6f3 100%);
	border-block: 1px solid #d8e8e4;
}

body.home .h4h-home-section--categories {
	background:
		linear-gradient(180deg, #fff 0%, #f8fbfc 100%);
}

body.home .h4h-home-section--advice {
	background: #f4f8fa;
	border-block: 1px solid #dce7ec;
}

body.home .h4h-section-heading {
	align-items: end;
	display: flex;
	gap: 24px;
	justify-content: space-between;
	margin-bottom: 24px;
}

body.home .h4h-section-heading p {
	color: #137b67;
	flex: 0 0 auto;
	font-size: .78rem;
	letter-spacing: .08em;
	margin: 0;
}

body.home .h4h-section-heading h2 {
	font-size: clamp(1.75rem, 3vw, 2.55rem);
	line-height: 1.12;
	max-width: 680px;
}

body.home .h4h-home-card-grid {
	gap: 20px;
}

body.home .h4h-home-card-grid--popular {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.home .h4h-home-card-grid--categories {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.home .h4h-home-card {
	background: #fff;
	border: 1px solid #d8e6eb;
	border-radius: 8px;
	box-shadow: 0 10px 26px rgba(6, 36, 59, .06);
	min-height: 230px;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

body.home .h4h-home-card::before {
	background:
		linear-gradient(180deg, rgba(6, 36, 59, 0) 38%, rgba(6, 36, 59, .42) 100%),
		var(--h4h-card-image) center / cover no-repeat;
	height: 132px;
}

body.home .h4h-popular-card::after {
	background: var(--h4h-teal);
	content: "";
	height: 4px;
	left: 0;
	position: absolute;
	right: 0;
	top: 132px;
}

body.home .h4h-home-card span {
	color: var(--h4h-navy);
	font-size: 1.05rem;
	padding: 18px 16px 5px;
}

body.home .h4h-home-card small {
	color: #506674;
	font-size: .92rem;
	line-height: 1.45;
	padding: 0 16px 18px;
}

body.home .h4h-home-card:hover,
body.home .h4h-home-card:focus {
	border-color: #30bb99;
	box-shadow: 0 18px 42px rgba(6, 36, 59, .14);
	transform: translateY(-3px);
}

body.home .h4h-step-grid {
	gap: 20px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.home .h4h-step-grid article {
	border-color: #d5e4e9;
	border-radius: 8px;
	box-shadow: 0 14px 34px rgba(6, 36, 59, .06);
	padding: clamp(22px, 3vw, 30px);
}

body.home .h4h-step-grid span {
	box-shadow: 0 8px 18px rgba(48, 187, 153, .28);
	height: 40px;
	width: 40px;
}

body.home .h4h-step-grid h3 {
	font-size: 1.22rem;
}

body.home .h4h-advice-band {
	align-items: stretch;
	background: #fff;
	border: 1px solid #d6e5ea;
	border-left: 7px solid var(--h4h-teal);
	border-radius: 8px;
	box-shadow: 0 18px 44px rgba(6, 36, 59, .08);
	gap: clamp(22px, 4vw, 42px);
	padding: clamp(24px, 4vw, 42px);
}

body.home .h4h-advice-band > div {
	align-self: center;
}

body.home .h4h-advice-band h2 {
	font-size: clamp(1.65rem, 3vw, 2.45rem);
	line-height: 1.14;
}

body.home .h4h-advice-band p {
	color: #344c5a;
	font-size: 1.04rem;
	line-height: 1.65;
}

body.home .h4h-advice-band ul {
	background: #f7fbfa;
	border-color: #dce7ec;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .62);
}

body.home .h4h-advice-band li {
	color: #263d4b;
	font-weight: 700;
	padding: 12px 0 12px 28px;
	position: relative;
}

body.home .h4h-advice-band li::before {
	background: var(--h4h-teal);
	border-radius: 50%;
	content: "";
	height: 9px;
	left: 4px;
	position: absolute;
	top: 21px;
	width: 9px;
}

@media (max-width: 1050px) {
	body.home .h4h-home-card-grid--popular,
	body.home .h4h-home-card-grid--categories {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 820px) {
	body.home .h4h-home-card-grid--popular,
	body.home .h4h-home-card-grid--categories,
	body.home .h4h-step-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.home .h4h-section-heading {
		align-items: start;
		flex-direction: column;
		gap: 8px;
	}
}

@media (max-width: 560px) {
	body.home .h4h-home-hero {
		background:
			linear-gradient(180deg, rgba(247, 251, 250, .98) 0%, rgba(247, 251, 250, .88) 100%),
			url("assets/here4homes-header-banner.png") center / cover no-repeat;
		padding-top: 34px;
	}

	body.home .h4h-home-hero__inner {
		border-left-width: 5px;
		padding: 22px 18px;
	}

	body.home .h4h-home-card-grid--popular,
	body.home .h4h-home-card-grid--categories,
	body.home .h4h-step-grid {
		grid-template-columns: 1fr;
	}

	body.home .h4h-home-card {
		min-height: 214px;
	}

	body.home .h4h-home-card::before {
		height: 120px;
	}

	body.home .h4h-popular-card::after {
		top: 120px;
	}
}
