/* ==========================================================================
   home.css ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â Bundled CSS for the homepage blocks.
   Consolidates: home-hero, theme-eligibility, theme-text-image,
                 theme-impact, theme-news.
   Loaded only when is_front_page() is true. The individual block style.css
   files are suppressed on the homepage to avoid duplication (see enqueue.php).
   IMPORTANT: keep this file in sync with the block source files in /blocks/~/css/.
   ========================================================================== */


/* ==========================================================================
   home-hero
   ========================================================================== */
.home-hero{
	position:relative;
	height: calc(100vh - 143px);
	min-height: 490px;
	display:flex;
	align-items:flex-end;
	padding: 80px 0;
	overflow:hidden;
}

.home-hero__media{
	position:absolute;
	inset:0;
	background:#0a3020;
}

.home-hero__media img{
	width:100%;
	height:100%;
	object-fit:cover;
	object-position: top;
}

.home-hero__media::after{
	/* content:""; */
	position:absolute;
	inset:0;
	background:linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.50) 100%);
}

/* Blue polygon ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â sits behind the text */
.home-hero__overlay{
	position:absolute;
	bottom:0;
	left:0;
	width: 560px;
	height: 357px;
	background:var(--brand-blue);
	clip-path: polygon(0 0, 100% 0, 100% 313px, 0 246%);
}

/* Content sits ON TOP of the blue overlay */
.home-hero__content{
	position:relative;
	z-index:2;
	text-align:left;
	max-width: 580px;
	width: auto;
	padding: 0 0 20px 0;
	margin: 0;
	margin-left: max(40px, 60px);
}

.home-hero__title{
	color:#ffffff;
	font-family: var(--serif);
	font-size: 42px;
	font-weight: 600;
	line-height: 1.3;
	text-shadow:0 4px 16px rgba(0,0,0,.22);
	margin-bottom: 30px;
}
.home-hero__title span {
	position: relative;
	display: inline-block;
}
.home-hero__title span:after {
	content: '';
	display: block;
	background-image: url(../img/price-line.svg);
	background-size: contain;
	background-repeat: no-repeat;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 9px;
}

/* CTA ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â square button with triangle point on right */
.home-hero__cta{
	position: relative;
	font-size: 20px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .5px;
	padding: 12px 28px;
	border-radius: 0!important;
	margin-right: 18px;
	border: none;
}
.home-hero__cta::after{
	content: "";
	position: absolute;
	top: 0;
	right: -37px;
	width: 41px;
	height: 100%;
	background: var(--brand-yellow);
	clip-path: polygon(0 0, 0% 0, 100% 0, 0 100%);
	clip-path: polygon(0 0, 100% 0, 15% 100%, 0% 100%);
	transition: all .3s ease;
}
.home-hero__cta:hover::after{ background: #fff }

.home-hero__lines{
	position:absolute;
	bottom:0;
	left:0;
	width: 250%;
	z-index:3;
	line-height:0;
	opacity:.8;
}
.home-hero__lines img{
	width:100%;
	height: 45px;
	object-fit: cover;
}
@media (max-width: 1400px) {
	.home-hero {
		padding: 60px 0;
	}
	.home-hero__title {
		font-size: 40px;
	}
	.home-hero__cta {
		font-size: 18px
	}
	.home-hero__overlay {
		width: 500px;
		height: 300px;
		clip-path: polygon(0 0, 100% 0, 100% 80%, 0 240%);
	}
	.home-hero__content {
		padding: 0 30px;
		margin: 0;
	}
	.home-hero__lines {
		height: 30px
	}
}
@media (max-width: 991px){
	.home-hero{padding: 0 0 40px;}
	.home-hero__title{ font-size:40px; }
	.home-hero__overlay{width: 450px;height: 260px;}
	.home-hero__content{}
}
@media (max-width: 520px){
	.home-hero__title{font-size: 27px;padding: 0 0;margin: 0 0 20px;}
	.home-hero__cta{ font-size:14px; padding:10px 22px; margin-right: 14px; }
	.home-hero__cta::after{}
	.home-hero__overlay{width: 310px;height: 200px;}
	.home-hero__content{margin-left: 0;width: 90%;padding: 0 20px;}
}

.menu > .container {
	width: 100%!important;
	max-width: 100%!important;
}


/* ==========================================================================
   theme-eligibility
   ========================================================================== */
.theme-eligibility{
	padding: var(--section-pad-y) 0;
	background:#fff;
}

.theme-eligibility--yellow{
	background: #F4F3B8;
}

.theme-eligibility--green{
	background: var(--bg-green-light);
}

.theme-eligibility__header{
	margin: 0 0 40px;
	text-align: left;
}

.theme-eligibility__title{
	font-family: var(--serif);
	font-size: var(--h1);
	font-weight: 600;
	color: var(--brand);
	margin-bottom: 10px;
	text-align: left;
	letter-spacing: -0.01em;
}

.theme-eligibility__sub{
	font-family: var(--sans);
	color: #282828;
	font-size: var(--body-lg);
	font-weight: 500;
	line-height: 1.5;
	text-align: left;
}

.theme-eligibility__grid{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	grid-template-columns:repeat(5, minmax(0, 1fr));
	gap: 40px;
	margin-bottom: 50px;
}

.theme-eligibility__card{
	display:flex;
	flex-direction:column;
	align-items: center;
	justify-content: start;
	text-align: center;
	gap: 16px;
	max-width: 205px;
	width: 100%;
}

.theme-eligibility__icon{
	width: 100px;
	height: 90px;
	display:flex;
	align-items:center;
	justify-content:center;
}

.theme-eligibility__icon img{
	max-width:100%;
	max-height:100%;
	object-fit:contain;
}

.theme-eligibility__text{
	font-size: var(--body-md);
	font-weight: 550;
	color: var(
	--ink);
	max-width: 210px;
	margin: 0 auto;
	line-height: 1.3em;
}

.theme-eligibility__cta{
	display:flex;
	justify-content:center;
}

.theme-eligibility__cta .btn-layout{
	font-weight: 700;
	text-transform: uppercase;
	padding: 14px 32px;
}
@media (max-width: 1300px) {
	.theme-eligibility__grid{
		max-width: 900px;
		margin: 0 auto 50px;
		justify-content: center;
	}
	.theme-eligibility__card {
		max-width: 190px
	}
	.theme-eligibility__text {
		font-size: 19px
	}
}
@media (max-width: 991px){
	.theme-eligibility__title{
		font-size: 36px;
		text-align: center;
	}
	.theme-eligibility__icon {
		width: 70px;
	    height: 70px;
	}
	.theme-eligibility__sub {
		font-size: 22px;
		text-align: center;
	}
	.theme-eligibility__grid{ grid-template-columns:repeat(3, minmax(0, 1fr)); gap: 30px; margin: 0 0 60px }
	.theme-eligibility__card {
		max-width: 180px
	}
	.theme-eligibility__text {
		font-size: 16px
	}
}

@media (max-width: 520px){
	.theme-eligibility__grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); gap: 24px; }
	.theme-eligibility__cta .btn-layout{padding: 14px 28px;}
	.theme-eligibility__text {
		font-size: 20px;
	}
}


/* ==========================================================================
   theme-text-image
   ========================================================================== */
.theme-text-image {
	position:relative;
	padding: 0;
	background: #F4F3B8;
	overflow:hidden;
	min-height: 690px;
}
.text-image__corner {
	position:absolute;
	top: -1px;
	left: 50%;
	margin-left: -2px;
	width:80px;
	height:80px;
	background: #f4f3b8;
	clip-path: polygon(0 0, 100% 0, 0 100%);
	z-index: 1;
}
/* ---- Blue-light variant ---- */
.theme-text-image--blue-light,
.theme-text-image--blue-light .text-image__corner {
  background: var(--blue-light);
}

/* ---- Peach variant ---- */
.theme-text-image--bg-peach,
.theme-text-image--bg-peach .text-image__corner {
  background: var(--peach, #F8D5C0);
}

/* ---- Green-light variant ---- */
.theme-text-image--bg-green,
.theme-text-image--bg-green .text-image__corner {
  background: #CDE7CA;
}


.text-image__grid{
	display:grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	align-items:stretch;
}

.text-image__content{
	padding: 120px 60px 120px 0;
	display: flex;
	flex-direction: column;
	align-items: start;
	justify-content: center;
}

.text-image__title{
	margin-bottom: 20px;
	font-size: var(--h1);
}

.text-image__sub{
	color: #282828;
	font-size: var(--body-lg);
	line-height: 150%;
	margin-bottom: 30px;
}

.text-image__content .btn-layout{
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
	padding: 14px 32px;
}

.text-image__media{
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	width: 50%;
	column-height: relative;
	overflow:hidden;
}

.text-image__media img{
	width:100%;
	height:100%;
	object-fit:cover;
}

@media (max-width: 1200px) {
	.text-image__title{
		font-size: 42px
	}
	.text-image__sub {
		font-size: 26px
	}
}
@media (max-width: 991px){
	.text-image__content{ padding: 60px 0; }
	.text-image__sub{ font-size: 22px; }
}
@media (max-width: 768px){
	.text-image__title{
		font-size: 36px
	}
	.text-image__content { align-items: center; }
	.theme-text-image {padding-bottom: 65vw;text-align: center;min-height: auto;}
	.text-image__corner { display: none }
	.text-image__media {
		top: unset;
		left: 0;
		width: auto;
		height: 65vw;
	}
	.text-image__grid{ grid-template-columns:1fr; gap: 0; }
}
@media (max-width: 520px){
	.text-image__content{ padding: 40px 0; }
	.text-image__sub{/* font-size: 18px; */}
}


/* ==========================================================================
   theme-impact
   ========================================================================== */
.theme-impact{
	position:relative;
	padding: 180px 0 80px;
	background: var(--brand-green-light);
	overflow:hidden;
}

.theme-impact__lines{
	position:absolute;
	top:0;
	left:0;
	right:0;
	z-index:1;
	line-height:0;
	opacity: .7;
}
.theme-impact__lines img{
	width:100%;
	height: auto;
	object-fit: cover;
}

.theme-impact__grid{
	position:relative;
	z-index:2;
	display:grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items:center;
}

.theme-impact__map img{
	width:100%;
	height:auto;
	max-width: 526px;
}

.theme-impact__content{
	color:#fff;
}

.theme-impact__title{
	color:#fff;
	margin-bottom: 20px;
	font-size: var(--h1);
}

.theme-impact__sub{
	color:#fff;
	font-size: var(--body-lg);
	line-height: 150%;
	margin-bottom: 30px;
}

.theme-impact__content .btn-layout{
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
	padding: 14px 32px;
}

.theme-impact__cta-wrap{
	position: relative;
}

.theme-impact__arrow {
	width: 90px;
	opacity: 0;
	bottom: 50px;
	transform: rotate(20deg);
	height: auto;
	position: absolute;
	right: calc(100% - 40px);
}
.theme-impact__content.ready .theme-impact__arrow {
	width: 138px;
	opacity: 1;
	bottom: 0;
	transform: rotate(0);
	transition: all .6s ease-in-out;
	transition-delay: 1s;
}

@media (max-width: 1600px) {
	.theme-impact__content.ready .theme-impact__arrow {
		width: 90px;
		right: calc(100% - 25px);
		bottom: 10px
	}
}

@media (max-width: 1200px) {
	.theme-impact__title{
		font-size: 42px
	}
	.theme-impact__sub {
		font-size: 26px
	}
}
@media (max-width: 991px){
	.theme-impact{ padding: 80px 0 60px; }
	.theme-impact__map{ max-width: 500px; margin: 0 auto; }
	.theme-impact__sub{font-size: 22px;}
}
@media (max-width: 768px) {
	.theme-impact__grid{ grid-template-columns:1fr; gap: 30px; }
	.theme-impact__content { text-align: center; }
	.theme-impact__content.ready .theme-impact__arrow {
		right: calc(50% + 90px);
		bottom: 0;
		transform: rotate(-30deg);
	}
}
@media (max-width: 520px){
	.theme-impact{ padding: 60px 0 50px; }
	.theme-impact__sub{ font-size: 22px; }
}


/* ==========================================================================
   theme-news
   ========================================================================== */
.theme-news{
	padding: 100px 0 120px;
	background:#fff;
}

.theme-news__title{
	margin-bottom: 50px;
	font-size: var(--h1);
}

.theme-news__grid{
	display:grid;
	grid-template-columns:repeat(3, minmax(0, 1fr));
	gap: 40px;
	margin-bottom: 50px;
}

.theme-news__card{
	display:flex;
	flex-direction:column;
}
.theme-news__card-media{
	overflow:hidden;
}

.theme-news__card-media img{
	width:100%;
	aspect-ratio: 16/10;
	object-fit:cover;
	transition: transform .6s ease;
}
.theme-news__card:hover .theme-news__card-media img{
	transform: scale(1.05);
}

.theme-news__card-body{
	display:flex;
	align-items:flex-start;
	gap: 12px;
	padding: 18px 4px;
}

.theme-news__card-bar{
	display: none;
	flex-shrink:0;
	width: 3px;
	min-height: 30px;
	height: 100%;
	background: var(--brand-green-accent);
	border-radius: 2px;
}

.theme-news__card-title{
	color: #282828;
	font-family: var(--sans);
	font-size: var(--body-md);
	font-weight: 600;
	margin: 0;
	line-height: 1.35;
}

.theme-news__cta{
	display:flex;
	justify-content:center;
}

.theme-news__cta .btn-layout{
	font-size: 24px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
	padding: 14px 32px;
}
@media (max-width: 1200px) {
	.theme-news__title{
		font-size: 42px
	}
}
@media (max-width: 991px){
	.theme-news__title{
		text-align: center;
	}
	.theme-news__grid{ grid-template-columns:1fr; gap: 30px; max-width: 500px; margin: 0 auto 40px }
}
@media (max-width: 768px) {
	.theme-news__card-title {
		font-size: 18px;
	}
}
@media (max-width: 520px){
	.theme-news{ padding: 50px 0; }
	.theme-news__cta .btn-layout{ font-size: 16px; padding: 14px 28px; }
}
