/*!
	Theme Name: Griffin by Leadhub Child
	Author: Leadhub
	Template: griffin-by-leadhub
*/

/* Custom styles can go here */



a.button,
input[type="submit"] {
	font-size: 1.125rem !important;
}

body,
.font-serif {
	font-family: "Arial", sans-serif;
}

h1,h2,h3,h4,h5,h6,
.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
	color:var(--color-primary);
	font-weight:700;
}

.gform_validation_container {
	display: none;
}

.youtube-icon {
	min-width: 28px;
}

.style-svg {
	max-height: 50px;
	max-width: 55px;
}

.lp-hero__form {
	width: 100%;
}

.button--lp {
	font-size: 1.5rem !important;
	margin-bottom: 35px;
	margin-top: 10px;
	padding: .5rem 2rem !important;
}

.lp-content-image {
	margin-bottom: 50px !important;
	max-width: 450px;
}

.page-id-417 .content-image__bg {
	background-color: #a42036;
	color: white;
}

.page-id-417 .content-image-block li {
	color: white;
	line-height: normal;
	text-align: left;
}
.page-id-417 .content-image-block li:before {
	background-color: transparent;
	border-bottom: 6px solid transparent;
	border-left: 6px solid #888888;
	border-radius: 0;
	border-top: 6px solid transparent;
	height: 0;
	left: .2222222em;
	top: 6px;
	width: 0;
}

.page-id-417 .content-image-block .text-primary {
	color: white;
}

.page-id-417 .pre-title {
	color: #a51f36;
}

.lp-espn-logo {
	margin-bottom: 150px !important;
	margin-top: 50px !important;
	max-width: 250px;
}

.utility-bar img {
	margin-right: 15px;
	max-width: 300px;
}

.utility-bar {
	padding: 0 15px;
}

.utility-bar__button {
	background-color: #222222;
	border-radius: 5px;
	color: white;
	cursor: pointer;
	font-size: .7rem !important;
	font-weight: bold;
	margin-left: 10px;
	padding: .5rem;
}

.utility-bar__button:hover {
	background-color: #0204c5;
	color: white !important;
	text-decoration: none;
}

.button--lp {
	background-color: #222222 !important;
}

.button--lp:hover {
	background-color: #0204c5 !important;
	opacity: 1 !important;
}

.utility-bar {
	padding: 0 15px;
}

.utility-bar__text {
	margin-right: 5px;
}

.utility-bar__button {
	background-color: #222222;
	border-radius: 5px;
	color: white;
	cursor: pointer;
	font-size: .7rem !important;
	font-weight: bold;
	margin-left: 15px;
	padding: .5rem;
}

.utility-bar__button:hover {
	background-color: #0204c5;
	color: white !important;
	text-decoration: none;
}

.utility-bar__image {
	margin-right: 15px;
	max-width: 240px;
}

/* Swiper Styles */


.slider-wrap{
	padding-bottom: 6rem;
}

.slider-heading{
	color: var(--color-primary);
}
/* Layout */
.acf-swiper .carousel-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1340px;
  width:90%;
  margin: 0 auto;
}

.acf-swiper .swiper { flex: 1; }

.acf-swiper .swiper-slide {
  overflow: hidden; /* so hover-scale doesn’t bleed */
}

.acf-swiper .swiper-slide img {
	width: 100%;
	display: block;
	object-fit: cover;
	transition: transform .4s ease;
	aspect-ratio: 4/3;
	border-radius: 3px;
}

.acf-swiper .swiper-slide img:hover {
  transform: scale(0.99);
}

/* Arrows as flex children (outside the slider) */
.acf-swiper .swiper-button-prev,
.acf-swiper .swiper-button-next {
  position: relative !important; /* override Swiper absolute */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: transparent;       /* transparent background */
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform .2s ease;
}

.acf-swiper .swiper-button-prev {
	left:-10px;
}

.acf-swiper .swiper-button-next {
	right:-10px;
}

/* Hover feedback */
.acf-swiper .swiper-button-prev:hover,
.acf-swiper .swiper-button-next:hover {
  transform: scale(1.15);
}


/* Remove Swiper’s default icon, draw our own chevrons */
.acf-swiper .swiper-button-prev::after,
.acf-swiper .swiper-button-next::after {
  content: "";
  border: solid var(--color-primary);         /* blue chevron */
  border-width: 0 3px 3px 0;
  display: block;
  width: 12px;
  height: 12px;
  padding: 0;
}

.acf-swiper .swiper-button-next::after { transform: rotate(-45deg); }
.acf-swiper .swiper-button-prev::after { transform: rotate(135deg); }

/* Pagination below (outside) */
.acf-swiper .swiper-horizontal > .swiper-pagination-bullets,
.acf-swiper .swiper-pagination-bullets.swiper-pagination-horizontal,
.acf-swiper .swiper-pagination-custom,
.acf-swiper .swiper-pagination-fraction {
  bottom: unset !important;                 /* never overlay images */
  top: var(--swiper-pagination-top, auto);
  left: 0;
  width: 100%;
  margin-top: 15px;
  text-align: center;
}

/* Button styles */
.acf-swiper .swiper-slide .slide-inner {
	position: relative;
}

.acf-swiper .swiper-slide .slide-btn {
	position: absolute;
	bottom: -25px;          
	left: 50%;
	transform: translateX(-50%);
	background-color: var(--color-action);
	color: #fff;
	padding: 10px 15px;
	text-decoration: none;
	font-weight: bold;
	border-radius: 5px;
	z-index:9999;
}

.swiper-backface-hidden .swiper-slide {
	transform: translateZ(0)!important;
	-webkit-backface-visibility: hidden!important;
	backface-visibility: hidden!important;
	overflow: visible!important;
}


/* Desktop: show arrows, hide pagination */
@media (min-width: 1024px) {
  .acf-swiper .swiper-pagination { display: none !important; }
}


/* Remove border radius when only 1 image is shown (mobile-first rule) */
@media (max-width: 599px) {
  .acf-swiper .swiper-slide img {
	border-radius: 0 !important;
  }
}



/* Custom Styles for Author Block */

.author-box {
	display: flex;
	align-items: flex-start;
	padding: 2rem 0;
	border-top: 1px solid #dddddd;
}

.author-avatar {
	border-radius: 50%;
	width: 128px;
	height: 128px;
	object-fit: cover;
	margin-right: 2rem;
	margin-top:0px;
}

.author-info {
	flex: 1;
}

.author-info h3 {
	margin: 0;
	font-size: 1.5rem;
}

.author-title {
	color: #999999!important;
}

.author-socials {
	margin: .5rem 0;
}

.author-socials a {
	margin-right: .5rem;
	text-decoration: none;
	color: #333333;
}

.author-bio {
	color: #374151;
}


/* Custom Styles for Membership Block */

.membership-option {
	background: #FFFFFF;
	padding: 40px;
	border-radius: 40px;
	box-shadow: 0px 4px 4px 2px rgba(0, 0, 0, 0.3);
}

hr.membership-divider {
	border: none;
	border-top: 2px solid var(--color-action);
	margin: 15px auto; 
	width:35%;
}

.membership-option ul {
	padding-left: 16px;
}

.membership-option ul li {
	list-style-type: disc;
	text-align: left;
	margin:.5rem 0;
}

.membership-option ul li::marker {
	color: var(--color-action);
}


/* Custom Styles for Newsletter Block */

.single-post .wrap.sign-up {
	width:100%;
}
.sign-up {
	border:2px solid #DEDEDE;
	padding:1rem;
	border-radius:.5rem;
}
.sign-up h2 {
	margin-top:0;
}
.sign-up h2::after {
	content: '';
	display: block;
	width: 33%;
	height: 4px;
	margin-top: 0.5rem;
	background-color: var(--color-action);
}
.sign-up p {
	margin-bottom:0;
}
.sign-up .gchoice label {
	font-size:14px;
	font-weight:400;
}
.sign-up .gform_fields {
	position:relative;
	padding-left:0;
}
.sign-up .gfield_checkbox {
	padding-left:0;
}
.sign-up .gfield--type-html {
	position:absolute;
	top:0;
	right:0;
}
.sign-up a.button {
	line-height: 1.75rem;
	min-height: 44px;
	display: flex;
	align-items: center;
	color:#FFFFFF;
}




@media (min-width: 768px){
	.md\:justify-start {
		justify-content: start;
	}
}

@media (max-width: 768px) {
	.author-box {
		flex-direction: column;
		align-items: center;
	}

	.author-avatar {
		margin-right: 0;
		margin-bottom: 1.5rem;
	}

	.author-info {
		text-align: center;
	}
}

@media (min-width: 1024px){
	.sign-up a.button {
		line-height: 1.75rem;
		min-height: 55px;
		display: flex;
		align-items: center;
	}
	.lg\:w-50 {
		width:50%;
	}
}

@media (min-width: 1280px){
	.lp-hero__content {
		max-width: 60%;
	}
	.lp-hero__image {
		max-width: 32%;
		position: absolute;
	}
	.button--lp {
		margin-bottom: 110px;
		margin-top: 0;
	}
}


/* =============================================================
   Header 2 — split two-row nav with centered overlapping logo
   ============================================================= */

:root {
	--h2-cream: #F3F1E8;
	--h2-green: #527F40;
	--h2-navy: #1A374D;
	--h2-orange: #914325;
	--h2-orange-hover: #914325;
	--h2-top-height: 75px;
	--h2-bottom-height: 50px;
	--h2-logo-size: 150px;

	/* ✅ ONE source of truth for spacing */
	--header-2-menu-gap: 34px;
}

.site-header.site-header--v2 {
	background: transparent;
	border-bottom: 0;
	padding: 0;
	z-index: 2100;
}

.site-header--v2 .wrap { display: none; }

.header-2 {
	position: relative;
	width: 100%;
	font-family: 'Poppins', 'Open Sans', system-ui, -apple-system, sans-serif;
}

/* Rows ------------------------------------------------------- */

.header-2__row {
	width: 100%;
}

.header-2__row--top {
	background: var(--color-accent);
	height: var(--h2-top-height);
	display: flex;
	align-items: center;
}

.header-2__row--bottom {
	background: var(--color-action);
	height: var(--h2-bottom-height);
	display: flex;
	align-items: center;
}

.header-2__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
}

.header-2__side {
	display: flex;
	align-items: center;
	gap: 32px;
	flex: 1 1 0;
}

/* Inner-most nav items hug the logo; CTA / phone stay pinned to the outer edges */
.header-2__side--left  { justify-content: flex-end;   padding-right: calc(var(--h2-logo-size) / 2 + 40px); }
.header-2__side--right { justify-content: flex-start; padding-left:  calc(var(--h2-logo-size) / 2 + 40px); }
.header-2__side--right .header-2__cta,
.header-2__side--right .header-2__phone { margin-left: auto; }

/* Nav lists --------------------------------------------------- */

.header-2__nav { display: flex; }

.header-2__menu {
	display: flex;
	align-items: center;
	gap: var(--header-2-menu-gap); /* ✅ shared spacing */
	list-style: none;
	margin: 0;
	padding: 0;
}

.header-2__menu .menu-item { margin: 0; position: relative; }

/* Dropdown */
.header-2__menu .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	min-width: 200px;
	background: var(--color-accent);
	list-style: none;
	margin: 0;
	padding: 8px 0;
	z-index: 100;
	box-shadow: 0 4px 12px rgba(0,0,0,0.12);
	border-radius: 6px;
}

.header-2__menu > .menu-item > a {
	display: flex;
	align-items: center;
	gap: 5px;
}

.header-2__menu .menu-item-has-children > a::after {
	content: '';
	display: inline-block;
	width: 7px;
	height: 7px;
	border-right: 2px solid var(--color-action);
	border-bottom: 2px solid var(--color-action);
	transform: rotate(45deg);
	margin-top: -3px;
	flex-shrink: 0;
}

.header-2__menu .menu-item-has-children:hover > a::after {
	transform: rotate(225deg);
	margin-top: 3px;
}

.header-2__menu .menu-item-has-children:hover > .sub-menu {
	display: block;
}

.header-2__menu .sub-menu .menu-item {
	display: block;
	width: 100%;
}

.header-2__menu .sub-menu a {
	display: block;
	padding: 9px 18px;
	color: var(--color-primary) !important;
	font-size: 1rem !important;
	font-weight: 600 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	white-space: nowrap;
}

.header-2__menu .sub-menu a:hover {
	background: rgba(0,0,0,0.06);
	opacity: 1 !important;
}

.header-2__menu a {
	text-decoration: none;
	white-space: nowrap;
	transition: opacity 0.15s ease, color 0.15s ease;
}

.header-2__menu a:hover { opacity: 0.7; }

/* Top row nav: navy, uppercase, bold */
.header-2__nav--top .header-2__menu a {
	color: var(--color-primary);
	font-weight: 700;
	font-size: 18px;
	letter-spacing: 1px;
	text-transform: uppercase;
}

/* Bottom row nav: white, sentence case, lighter */
.header-2__nav--bottom .header-2__menu a {
	color: #fff;
	font-weight: 600;
	font-size: 15px;
	letter-spacing: 0.2px;
	text-transform: none;
}

/* Request Service CTA ---------------------------------------- */

a.header-2__cta {
	text-decoration: none;
}

.header-2__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--color-alert);
	color: #fff !important;
	font-weight: 700;
	font-size: 1.125rem;
	text-transform: none;
	text-decoration: none;
	padding: 18px 28px;
	line-height: 1;
	border-radius: 5px;
	transition: background-color 0.15s ease;
	white-space: nowrap;
}

.header-2__cta:hover {
	background: var(--color-alert);
	opacity:.7;
	color: #fff !important;
}

/* Phone pill on green bar ------------------------------------ */

a.header-2__phone {
	text-decoration: none;
}

.header-2__phone {
	display: inline-flex;
	align-items: center;
	color: #fff !important;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	border-radius: 5px;
	padding: 4px 14px;
	line-height: 1.4;
	transition: background-color 0.15s ease;
	white-space: nowrap;
	background: rgba(255, 255, 255, 0.25);
	
}

.header-2__phone:hover {
	background: rgba(255, 255, 255, 1);
	color: var(--color-action) !important;
}

/* Centered overlapping logo ---------------------------------- */

.header-2__logo {
	position: absolute;
	left: 50%;
	top: 10px;
	transform: translateX(-50%);
	width: var(--h2-logo-size);
	height: var(--h2-logo-size);
	z-index: 5;
	pointer-events: none;
}


.header-2__logo-link {
	display: block;
	width: 100%;
	height: 100%;
	pointer-events: auto;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.header-2__logo-link:hover { opacity: 1; }
.header-2__logo-link, .header-2__logo-link * { text-decoration: none !important; }

.header-2__logo-img,
.header-2__logo picture,
.header-2__logo picture img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.header-2__logo-text {
	display: flex;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
	background: var(--color-accent);
	border: 4px solid var(--color-primary);
	border-radius: 50%;
	color: var(--h2-navy);
	font-weight: 700;
	text-align: center;
	padding: 16px;
	font-size: 14px;
	line-height: 1.1;
}

/* Mobile trigger */

.site-header--v2 .mobile-menu-icon {
	display: none;
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	color: var(--color-primary);
	cursor: pointer;
}

.site-header--v2 .mobile-menu-icon svg {
	width: 32px;
	height: 32px;
}

/* Responsive --------------------------------------------------- */

@media (max-width: 1279px) {
	:root {
		--h2-logo-size: 150px;
		--h2-menu-gap: 22px; /* ✅ stays consistent */
	}

	.header-2__nav--top .header-2__menu a { font-size: 13px; letter-spacing: 0.5px; }
	.header-2__nav--bottom .header-2__menu a { font-size: 13px; }
	.header-2__cta { padding: 14px 20px; font-size: 1.125rem; }
	.header-2__inner { padding: 0 20px; }
}

@media (max-width: 1023px) {
	:root {
		--h2-top-height: 70px;
		--h2-logo-size: 95px;
	}

	.header-2__row--top { justify-content: space-between; }
	.header-2__row--bottom { display: none; }
	.header-2__nav { display: none; }
	.header-2__cta { display: none; }
	.header-2__phone { display: none; }
	.header-2__inner { justify-content: center; padding: 0 16px; }
	.header-2__side { display: none; }

	/* Logo hangs slightly below header into hero */
	.site-header--v2 {
		overflow: visible;
	}

	.header-2__logo {
		position: absolute;
		top: 75%;
		left: 50%;
		transform: translate(-50%, -50%);
		width: var(--h2-logo-size);
		height: var(--h2-logo-size);
		z-index: 9999;
	}

	.site-header--v2 .mobile-menu-icon {
		display: block;
	}

	/* Call Now button — mobile only, flush to left edge */
	.mobile-call-now {
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: center;
		gap: 10px;
		position: absolute;
		left: 0;
		top: 50%;
		transform: translateY(-50%);
		background: var(--color-action);
		color: #fff !important;
		font-weight: 700;
		font-size: 0.9rem;
		line-height: 1.2;
		padding: 6px 18px;
		border-radius: 0 8px 8px 0;
		text-decoration: none !important;
		z-index: 10;
		text-align: left;
	}

	.mobile-call-now svg {
		width: 28px;
		height: 28px;
		flex-shrink: 0;
	}

	/* Hero padding — top clears hanging logo, bottom clears trust bar slider */
	.hero-block {
		padding-top: 80px !important;
		padding-bottom: 160px !important;
	}

	/* Hero title larger, blurb smaller on mobile */
	.hero-block h2 {
		font-size: 2.75rem;
		line-height: 1.1;
		padding: 0 24px;
	}

	.hero-block .font-serif.text-2xl {
		font-size: 1.15rem !important;
		padding: 0 32px;
	}

	/* Swiper pagination dots — closer to trust bar */
	.hero-block .acf-swiper .swiper-pagination {
		margin-top: 6px;
	}

	.hero-block .swiper-pagination-bullet {
		width: 8px;
		height: 8px;
		background: rgba(255, 255, 255, 0.5);
		opacity: 1;
	}

	.hero-block .swiper-pagination-bullet-active {
		background: #fff;
	}

	.hero-block .hero-swiper {
		padding-bottom: 16px;
	}
}

@media (min-width: 1024px) {
	.mobile-call-now {
		display: none;
	}
}