/* ==========================================================================
   bgcfremont.com design layer
   Source design: Jocey (Envato, equestrian club HTML template), home "style3".
   Rebuilt on Porto + cmsdev markup; the template's own CSS is not loaded.
   Colors come from the client palette (colors.css / skin), never template hex:
     template dark brown  -> --jc-dark   (secondary, #121010)
     template gold accent -> --jc-accent (primary, #0082BF), decorative + large text only
     text-bearing blue    -> --jc-blue   (tertiary, #006A9C: 5.93:1 on white; #0082BF fails AA)
     template beige       -> --jc-tint   (quaternary, #E6F3F9)
   Fonts: Poppins body; Nunito (alt-font0) all content titles (Kenny, 2026-11-05: rounded and fun,
   close to the logo); Aleo (alt-font1) only the hero slide and page header text; Archivo
   (alt-font2) subheadings, eyebrows, menu, buttons; Chivo Mono (alt-font3) numbers; Bitter
   (alt-font4) accents; Unkempt (alt-font6) and Spicy Rice (alt-font7) available for fun accents.
   Loaded last by includes/css.php.
   ========================================================================== */
:root {
	--jc-dark: var(--cod-gray, #121010);
	--jc-accent: var(--primary, #0082BF);
	--jc-blue: var(--bahama-blue, #006A9C);
	--jc-blue-deep: var(--bahama-blue-dark, #00557d);
	--jc-tint: var(--polar, #E6F3F9);
	--jc-bright: var(--lochmara-light, #0cb1fe);   /* accent on near-black: 7.9:1 on #121010 */
	--jc-muted: var(--scorpion, #5E5858);
	--jc-off: var(--desert-storm, #F5F5F4);
	--jc-title: "Nunito", "Poppins", sans-serif;   /* alt-font0: every content title (rounded, close to the logo's lettering) */
	--jc-head: "Aleo", Georgia, serif;              /* alt-font1: hero slide and page header text only */
	--jc-ui: "Archivo", "Poppins", sans-serif;
	--jc-num: "Chivo Mono", ui-monospace, monospace;
	--jc-accent-font: "Bitter", Georgia, serif;
	--jc-logo-w: 290px;      /* the hanging logo banner; BGCFC's mark is wide (1.78:1) */
	--jc-topbar-h: 50px;
	--jc-nav-h: 92px;
}

/* The template's content column is about 1200px; Porto's container-xl-custom runs to 1440 */
@media (min-width: 1200px) {
	.container-xl-custom {
		max-width: 1230px;
	}
}

/* cmsdev's .content-lead (custom.css) is the master's crimson; repoint it at the palette */
.content-lead {
	color: var(--jc-blue);
}

.content-lead::before {
	--fa-primary-color: var(--jc-accent);
	color: var(--jc-accent);
}

/* ==========================================================================
   Shared pieces: eyebrow, section title, buttons
   ========================================================================== */
.jc-eyebrow {
	font-family: var(--jc-ui);
	font-size: 1.0625rem;
	font-weight: 600;
	color: var(--jc-blue);
	margin-bottom: .5rem;
	letter-spacing: .01em;
}

/* Hero eyebrow: a short accent rule under the text (template .sn-main-slider .title) */
.jc-eyebrow-rule {
	position: relative;
	padding-bottom: .75rem;
	margin-bottom: 1.25rem;
}

.jc-eyebrow-rule::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 50px;
	height: 3px;
	background: var(--jc-accent);
}

/* Template .thm-btn: square-ish, uppercase, heavy; the hover fills in from both sides */
.jc-btn,
.jc-btn:visited {
	position: relative;
	z-index: 1;
	overflow: hidden;
	display: inline-block;
	padding: 1.05rem 2.6rem;
	border: 0;
	border-radius: 5px;
	background: var(--jc-blue);
	color: #fff !important;
	font-family: var(--jc-ui);
	font-size: .9375rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .02em;
	text-transform: uppercase;
	text-decoration: none;
}

.jc-btn::before,
.jc-btn::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	z-index: -1;
	width: 20%;
	opacity: 0;
	background: var(--jc-dark);
	transition: all .45s cubic-bezier(.175, .885, .32, 1.275);
}

.jc-btn::before { left: 0; }
.jc-btn::after { right: 0; }

.jc-btn:hover::before,
.jc-btn:hover::after,
.jc-btn:focus-visible::before,
.jc-btn:focus-visible::after {
	width: 100%;
	opacity: 1;
}

.jc-btn-dark,
.jc-btn-dark:visited {
	background: var(--jc-dark);
	text-transform: none;
	font-weight: 500;
	font-size: 1rem;
	padding: .95rem 2.1rem;
}

.jc-btn-dark::before,
.jc-btn-dark::after {
	background: var(--jc-blue);
}

/* ==========================================================================
   Header (includes/header.php, nav-top.php, header-logo.php, nav.php)
   ========================================================================== */
#header.header-jc .header-body {
	position: relative;
	z-index: 1001;
	overflow: visible;
	border: 0;
	box-shadow: none;
}

/* Announcement bar (template .top-noti) */
.jc-noti {
	background: var(--jc-dark);
	color: #fff;
	text-align: center;
	padding: 9px 0;
}

.jc-noti p {
	font-family: var(--jc-ui);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .2px;
	color: #fff;
}

.jc-noti a {
	color: #fff;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: .2em;
}

/* Info bar (template .topbar.bg-color11) */
.jc-topbar {
	background: var(--jc-blue);
	color: #fff;
}

.jc-topbar-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	min-height: var(--jc-topbar-h);
}

.jc-topbar-left {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .25rem 2.25rem;
}

.jc-contact {
	display: inline-flex;
	align-items: center;
	gap: .7rem;
	font-family: var(--jc-ui);
	font-size: .9375rem;
	font-weight: 600;
	color: #fff !important;
	text-decoration: none;
}

.jc-contact i {
	font-size: 1.25rem;
	--fa-primary-color: #fff;
	--fa-secondary-color: #fff;
}

.jc-social {
	margin: 0;
	padding: 0;
	list-style: none;
	gap: 1.25rem;
}

.jc-social.social-icons li {
	margin: 0;
	box-shadow: none;
}

.jc-social.social-icons li a,
.jc-social.social-icons li a i {
	background: transparent !important;
	color: #fff !important;
	font-size: 1rem;
	width: auto;
	height: auto;
	line-height: 1;
}

/* Menu row */
#header.header-jc .jc-main > .header-row {
	min-height: var(--jc-nav-h);
}

#header.header-jc .header-logo {
	margin: 0;
}

/* The logo banner: hangs from the top of the info bar, past the menu row, with an angled
   foot and a blue ribbon (template .logo.v2). Desktop only; phones get a plain logo. */
@media (min-width: 992px) {
	.jc-topbar-inner,
	#header.header-jc .jc-main > .header-row {
		padding-left: calc(var(--jc-logo-w) + 2.5rem);
	}

	#header.header-jc .jc-main {
		position: relative;
	}

	#header.header-jc .jc-logo-col {
		position: static;
		flex: 0 0 auto;
	}

	.jc-logo {
		position: absolute;
		z-index: 5;
		top: calc(-1 * var(--jc-topbar-h));
		left: calc(var(--bs-gutter-x, 1.5rem) * .5);
		width: var(--jc-logo-w);
		background: #fff;
		box-shadow: 0 12px 26px rgba(18, 16, 16, .14);
	}

	.jc-logo .header-logo a {
		display: block;
		padding: 1.4rem 1.5rem 1.1rem;
	}

	.jc-logo .header-logo img {
		width: 100%;
		height: auto !important;
		max-height: none;
	}

	.jc-logo::before,
	.jc-logo::after {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		clip-path: polygon(100% 0, 0 0, 100% 100%);
	}

	.jc-logo::before {
		bottom: -2.125rem;
		height: 2.1875rem;
		background: #fff;
		z-index: 1;
	}

	.jc-logo::after {
		bottom: -1.6875rem;
		left: -5px;
		right: -1px;
		height: 12px;
		background: var(--jc-accent);
		transform: rotate(7deg);
		transform-origin: left top;
	}

	/* Desktop menu (template header.style3 nav) */
	#header.header-jc .header-nav-main nav > ul > li > a,
	#header.header-jc .header-nav-main nav > ul > li > a.dropdown-toggle {
		position: relative;
		height: var(--jc-nav-h);
		margin: 0 0 0 2.6rem;
		padding: 0 !important;
		background: transparent !important;
		color: var(--jc-dark) !important;
		font-family: var(--jc-ui) !important;
		font-size: 1.0625rem !important;
		font-weight: 600 !important;
		letter-spacing: 0 !important;
		text-transform: none;
		display: flex;
		align-items: center;
	}

	#header.header-jc .header-nav-main nav > ul > li:first-child > a {
		margin-left: 0;
	}

	/* Eight menu items since Clubs and Calendar were added (2026-11-18): tighter gaps so the row fits beside the logo and button */
	#header.header-jc .header-nav-main nav > ul > li > a,
	#header.header-jc .header-nav-main nav > ul > li > a.dropdown-toggle {
		margin-left: clamp(1rem, 2.1vw - .5rem, 2rem);
	}
	#header.header-jc .header-nav-main nav > ul > li:first-child > a {
		margin-left: 0;
	}
	@media (max-width: 1199.98px) {
		#header.header-jc .header-nav-main nav > ul > li > a,
		#header.header-jc .header-nav-main nav > ul > li > a.dropdown-toggle {
			margin-left: .7rem;
			font-size: .9rem !important;
		}
		#header.header-jc .jc-btn { margin-left: .75rem !important; padding-left: 1rem; padding-right: 1rem; white-space: nowrap; }
	}

	#header.header-jc .header-nav-main nav > ul > li > a.dropdown-toggle::after {
		border-color: var(--jc-dark) transparent transparent;
		margin-left: .45rem;
	}

	#header.header-jc .header-nav-main nav > ul > li > a::before {
		content: "";
		position: absolute;
		left: 0;
		bottom: 1.45rem;
		width: 0;
		height: 3px;
		background: var(--jc-accent);
		transition: width .3s ease;
	}

	#header.header-jc .header-nav-main nav > ul > li:hover > a::before,
	#header.header-jc .header-nav-main nav > ul > li > a.active::before,
	#header.header-jc .header-nav-main nav > ul > li > a:focus-visible::before {
		width: 1.75rem;
	}

	#header.header-jc .header-nav-main nav > ul > li > a.active,
	#header.header-jc .header-nav-main nav > ul > li:hover > a {
		color: var(--jc-blue) !important;
	}

	#header.header-jc .header-nav-main nav > ul > li .dropdown-menu {
		border-top: 3px solid var(--jc-accent);
		border-radius: 0 0 5px 5px;
		box-shadow: 0 14px 30px rgba(18, 16, 16, .12);
	}

	#header.header-jc .header-nav-main nav > ul > li .dropdown-menu li a {
		font-family: var(--jc-ui);
		font-size: .95rem;
		color: var(--jc-dark);
		border-bottom-color: rgba(18, 16, 16, .06);
	}
}

/* Phones and tablets: plain logo on the left, Porto's collapsed menu */
@media (max-width: 991.98px) {
	.jc-noti p {
		font-size: 13px;
	}

	.jc-logo .header-logo img {
		width: 190px;
		height: auto !important;
		padding: .6rem 0;
	}

	#header.header-jc .header-btn-collapse-nav {
		background: var(--jc-blue);
	}

	#header.header-jc .header-nav-main nav > ul > li > a {
		font-family: var(--jc-ui) !important;
		font-size: 1rem !important;
		text-transform: none;
		letter-spacing: 0 !important;
	}

	#header.header-jc .header-nav-main nav > ul > li > a.active {
		background: var(--jc-blue) !important;
		color: #fff !important;
	}
}

/* ==========================================================================
   Hero (includes/slider.php; template .sn-main-slider)
   ========================================================================== */
.jc-hero {
	background: var(--jc-tint);
	overflow: hidden;
}

.jc-slide {
	padding: 6.5rem 0 9.5rem;
}

.jc-hero-text {
	padding-right: 3rem;
}

.jc-hero-title {
	font-family: var(--jc-head);
	font-size: clamp(2.2rem, 3.6vw, 3.6rem);
	font-weight: 800;
	line-height: 1.12;
	color: var(--jc-dark);
	margin-bottom: 1.1rem;
	letter-spacing: -.01em;
}

.jc-hero-summary {
	font-size: 1.0625rem;
	line-height: 1.75;
	color: var(--jc-dark);
	margin-bottom: 2rem;
	max-width: 34rem;
}

.jc-hero-figure {
	position: relative;
	display: inline-block;
	width: min(100%, 500px);
}

.jc-hero-img {
	width: 100%;
	height: auto !important;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 50%;
	border: 10px solid #fff;
	box-shadow: 0 24px 50px rgba(0, 85, 125, .18);
}

.jc-dot {
	position: absolute;
	width: 90px;
	height: 90px;
	border-radius: 50%;
	pointer-events: none;
}

.jc-dot-1 {
	left: 8%;
	top: 2%;
	background: var(--jc-dark);
	opacity: .85;
}

.jc-dot-2 {
	right: -40px;
	top: 48%;
	background: var(--jc-accent);
	opacity: .8;
}

/* Square arrow buttons at the edges, vertically centered (template .owl-nav) */
.jc-hero-carousel .owl-nav {
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	margin: -25px 0 0 !important;
	pointer-events: none;
}

.jc-hero-carousel .owl-nav button.owl-prev,
.jc-hero-carousel .owl-nav button.owl-next {
	position: absolute;
	width: 50px;
	height: 50px;
	margin: 0 !important;
	border-radius: 2px !important;
	background: var(--jc-blue) !important;
	color: #fff !important;
	font-size: 1.1rem !important;
	pointer-events: auto;
	transition: background .3s ease;
}

.jc-hero-carousel .owl-nav button.owl-prev { left: 30px; }
.jc-hero-carousel .owl-nav button.owl-next { right: 30px; }

/* Arrows drawn in CSS: Porto parses data-plugin-options as JSON after swapping ' for ",
   so HTML in a navText option breaks the whole options object. Hide Owl's text instead. */
.jc-hero-carousel .owl-nav button span { display: none; }

.jc-hero .jc-hero-carousel .owl-nav button.owl-prev::before,
.jc-hero .jc-hero-carousel .owl-nav button.owl-next::before {
	content: "" !important;
	font-size: 0 !important;
	margin: 0 !important;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 11px;
	height: 11px;
	border-top: 2.5px solid #fff;
	border-left: 2.5px solid #fff;
	transform: translate(-30%, -50%) rotate(-45deg) !important;
}

.jc-hero .jc-hero-carousel .owl-nav button.owl-next::before {
	transform: translate(-70%, -50%) rotate(135deg) !important;
}

.jc-hero-carousel .owl-nav button:hover,
.jc-hero-carousel .owl-nav button:focus-visible {
	background: var(--jc-dark) !important;
}

@media (max-width: 1399.98px) {
	.jc-hero-carousel .owl-nav { display: none; }
}

@media (max-width: 991.98px) {
	.jc-slide { padding: 3rem 0 7.5rem; }
	.jc-hero-text { padding-right: calc(var(--bs-gutter-x) * .5); text-align: center; margin-top: 2rem; }
	.jc-hero-summary { margin-left: auto; margin-right: auto; }
	.jc-eyebrow-rule::after { left: 50%; margin-left: -25px; }
	.jc-hero-figure { width: min(80%, 360px); }
	.jc-dot { width: 60px; height: 60px; }
	.jc-dot-2 { right: -20px; }
}

/* ==========================================================================
   Feature blocks under the hero (includes/slider.php; template .sn-featured-section)
   ========================================================================== */
.jc-features {
	position: relative;
	z-index: 2;
}

.jc-features-inner {
	margin-top: -90px;
	background: var(--jc-dark);
}

.jc-feature {
	position: relative;
	display: flex;
	gap: 1.5rem;
	height: 100%;
	padding: 2.5rem 2.2rem 2.3rem;
	color: #fff !important;
	text-decoration: none !important;
	overflow: hidden;
}

/* The fill grows down from the top, then out to the sides (template :before effect) */
.jc-feature::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 95%;
	left: 47.5%;
	right: 47.5%;
	opacity: 0;
	background: var(--jc-blue);
	transition: bottom .25s ease-in 0s, right .25s ease-in .4s, left .25s ease-in .4s, opacity .1s;
}

.jc-feature.active::before,
.jc-feature:hover::before,
.jc-feature:focus-visible::before {
	bottom: 0;
	left: 0;
	right: 0;
	opacity: 1;
}

.jc-feature-icon,
.jc-feature-body {
	position: relative;
}

.jc-feature-icon {
	flex: 0 0 auto;
	font-size: 3.4rem;
	line-height: 1;
	transition: transform .3s ease;
	--fa-primary-color: #fff;
	--fa-secondary-color: #fff;
	--fa-secondary-opacity: .55;
}

.jc-feature.active .jc-feature-icon,
.jc-feature:hover .jc-feature-icon {
	transform: rotateY(180deg);
}

.jc-feature-title {
	display: block;
	font-family: var(--jc-title);
	font-size: 1.55rem;
	font-weight: 700;
	line-height: 1.25;
	margin-bottom: .5rem;
}

.jc-feature-text {
	display: block;
	font-size: 1rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, .9);
}

@media (max-width: 991.98px) {
	.jc-features-inner { margin-top: -60px; }
}

/* ==========================================================================
   Body sections on the home page
   Section rhythm: hero tint -> white content -> dark band (additional) -> deep blue
   (counters) -> tint (reviews) -> blue CTA -> map -> dark footer.
   ========================================================================== */

/* Home Page records (sections/home.php): the template's "Services We Provide" heading pattern.
   Subtitle becomes a dotted eyebrow above a large Aleo title. */
.main > .section.section-light:not(.jc-plain) {
	padding-top: 5.5rem;
	padding-bottom: 5.5rem;
}

.content-card {
	border-color: rgba(18, 16, 16, .1);
	border-radius: 6px;
}

.content-card .card-body {
	padding: 2.25rem 2.5rem !important;
}

.content-card [id^="subtitle"] h6,
.content-card [id^="subtitle-"] h6 {
	position: relative;
	padding-left: 1rem;
	margin-bottom: .35rem !important;
	font-family: var(--jc-ui) !important;
	font-size: 1.0625rem !important;
	font-weight: 600 !important;
	letter-spacing: 0 !important;
	color: var(--jc-blue) !important;
}

.content-card [id^="subtitle"] h6::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 8px;
	height: 8px;
	margin-top: -4px;
	border-radius: 50%;
	background: var(--jc-accent);
}

.content-card [id^="title"] h1 > span,
.content-card [id^="title"] h2 > span,
.content-card [id^="title"] h1 > a,
.content-card [id^="title"] h2 > a {
	font-family: var(--jc-title) !important;
	font-size: clamp(1.9rem, 3vw, 2.75rem) !important;
	font-weight: 800 !important;
	line-height: 1.15 !important;
	color: var(--jc-dark) !important;
	margin-bottom: 1rem;
}

.content-card [id^="content"] {
	font-size: 1.0625rem;
	line-height: 1.8;
	color: #3b3636;
}

.content-card [id^="content"] h1,
.content-card [id^="content"] h2,
.content-card [id^="content"] h3,
.content-card [id^="content"] h4 {
	font-family: var(--jc-title);
	color: var(--jc-dark);
}

/* Important notices (sections/important.php) sit between the features and the content */
.main > .alert,
.main .container > .alert {
	border-radius: 6px;
}

/* Shared content band (sections/additional.php): the template's dark three-up band */
.main > .section.section-primary {
	background: var(--jc-blue-deep) !important;   /* deep blue: counters below is the dark band */
	border-top: 0;
	padding: 5rem 0;
}

.section-primary #subtitle h6 {
	font-family: var(--jc-ui) !important;
	font-size: 1.0625rem !important;
	font-weight: 600 !important;
	letter-spacing: 0 !important;
	color: #b9e0f3 !important;   /* light blue: 6.4:1 on #00557d */
	margin-bottom: .4rem !important;
}

.section-primary #title h1 > span {
	font-family: var(--jc-title) !important;
	font-size: clamp(1.9rem, 3vw, 2.75rem) !important;
	font-weight: 800 !important;
	color: #fff !important;
	margin-bottom: 1.25rem;
}

.section-primary #content {
	font-size: 1.0625rem;
	line-height: 1.85;
	color: rgba(255, 255, 255, .88);
	max-width: 62rem;
}

/* Counters (sections/counters.php): template "Our Impact In Numbers" split band.
   Left: Custom Elements >> Counters Media (image or MP4). Right: deep blue with ring texture,
   stats in a 2x2 grid. */
.jc-impact {
	background: var(--jc-dark);   /* the template's brown band */
	overflow: hidden;
}

.jc-impact-media {
	position: relative;
	min-height: 600px;
	background: var(--jc-dark);
}

.jc-impact-img,
.jc-impact-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}

/* Pause/play for the video: a round button in the corner */
.jc-impact-toggle {
	position: absolute;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 2;
	width: 48px;
	height: 48px;
	border: 2px solid #fff;
	border-radius: 50%;
	background: rgba(18, 16, 16, .55);
	cursor: pointer;
}

.jc-impact-toggle:focus-visible {
	outline: 3px solid var(--jc-bright);
	outline-offset: 3px;
}

/* Pause icon: two bars; play icon: a triangle */
.jc-impact-toggle-icon {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 14px;
	height: 16px;
	transform: translate(-50%, -50%);
	border-left: 4px solid #fff;
	border-right: 4px solid #fff;
}

.jc-impact-toggle.is-paused .jc-impact-toggle-icon {
	width: 0;
	height: 0;
	border-right: 0;
	border-left: 14px solid #fff;
	border-top: 9px solid transparent;
	border-bottom: 9px solid transparent;
	transform: translate(-35%, -50%);
}

.jc-impact-stats {
	position: relative;
	display: flex;
	align-items: center;
}

/* Soft rings, the template's bubble texture, drawn in CSS */
.jc-impact-stats::before {
	content: "";
	position: absolute;
	inset: 0;
	opacity: .09;
	background:
		radial-gradient(circle at center, transparent 21px, #fff 22px, #fff 23.5px, transparent 24.5px) 0 0 / 150px 150px,
		radial-gradient(circle at center, transparent 11px, #fff 12px, #fff 13.5px, transparent 14.5px) 75px 60px / 150px 150px,
		radial-gradient(circle at center, transparent 30px, #fff 31px, #fff 32.5px, transparent 33.5px) 40px 105px / 210px 190px;
	pointer-events: none;
}

/* Left-aligned content block, the template's: eyebrow, big title, text, then the 2x2 stats */
.jc-impact-inner {
	position: relative;
	width: 100%;
	max-width: 640px;
	padding: 5.5rem 3rem 3rem 5rem;
	text-align: left;
}

.jc-impact-no-media .jc-impact-inner {
	max-width: 1230px;
	margin: 0 auto;
	padding: 4.5rem 1.5rem 2rem;
}

.jc-impact .jc-impact-eyebrow {
	color: var(--jc-bright);
	margin-bottom: .35rem;
}

.jc-impact-title {
	font-family: var(--jc-title);
	font-size: clamp(2rem, 3vw, 2.75rem);
	font-weight: 800;
	line-height: 1.15;
	color: #fff;
	margin-bottom: 1rem;
}

.jc-impact-text {
	font-size: 1.0625rem;
	line-height: 1.75;
	color: rgba(255, 255, 255, .88);
	margin-bottom: 2.75rem;
}

.jc-impact-text p {
	color: inherit;   /* Porto's p color would make this dark gray on the dark band */
	font-size: inherit;
	line-height: inherit;
}

.jc-impact-text p:last-child {
	margin-bottom: 0;
}

.jc-impact .counters {
	margin: 0;
}

.jc-stat-col {
	padding: 0 1rem 2.5rem 0;
}

.jc-impact .counters .counter.jc-stat {
	display: flex;
	align-items: center;
	gap: 1rem;
	text-align: left;
}

/* A fixed box per icon, so every number starts at the same x whatever the icon's width */
.jc-stat-icon {
	flex: 0 0 3.5rem;
	width: 3.5rem;
	text-align: center;
	font-size: 2.85rem;
	line-height: 1;
	color: #fff;
}

/* Solid white silhouettes like the template: both duotone layers white and opaque */
.jc-impact .jc-stat-icon i {
	color: #fff !important;
	--fa-primary-color: #fff;
	--fa-primary-opacity: 1;
	--fa-secondary-color: #fff;
	--fa-secondary-opacity: 1;
}

.jc-impact .counters .counter strong {
	display: block;
	font-family: var(--jc-num);
	font-size: 1.9rem;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -.02em;
	color: var(--jc-bright);
}

.jc-impact .counters .counter label {
	display: block;
	margin: .25rem 0 0;
	font-family: var(--jc-ui);
	font-size: 1rem;
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0;
	color: #fff;
}

@media (max-width: 991.98px) {
	.jc-impact-media { min-height: 320px; }
	.jc-impact-inner { max-width: none; padding: 3.5rem 1.5rem 1rem; }
}

/* Reviews (sections/testimonials.php): template "Member Reviews" cards */
html .section.jc-reviews {
	background: var(--jc-tint) !important;
	padding: 5.5rem 0 !important;
}

.jc-quote {
	display: inline-block;
	margin-bottom: 1rem;
	font-size: 1.6rem;
	color: var(--jc-accent);
	--fa-primary-color: var(--jc-accent);
	--fa-secondary-color: var(--jc-blue);
}

.testimonial.testimonial-style-5 {
	height: 100%;
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 85, 125, .08);
}

.testimonial.testimonial-style-5 blockquote {
	flex: 1 1 auto;
	margin: 0;
	padding: 2.25rem 2rem 1.5rem;
	background: transparent;
	text-align: center;
}

.testimonial.testimonial-style-5 blockquote p {
	font-family: "Poppins", sans-serif;
	font-size: 1rem;
	line-height: 1.8;
	color: #3b3636;
}

.testimonial.testimonial-style-5 .testimonial-author {
	margin: 0;
	padding: 1rem 1.5rem;
	background: #cfe6f2;
	text-align: center;
}

.testimonial.testimonial-style-5 .testimonial-author p {
	margin: 0;
}

.testimonial.testimonial-style-5 .testimonial-author strong {
	display: block;
	font-family: var(--jc-title);
	font-size: 1.2rem;
	color: var(--jc-dark);
}

.testimonial.testimonial-style-5 .testimonial-author span {
	font-family: var(--jc-ui);
	font-size: .9rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--jc-blue-deep);
}

/* Call to action (sections/cta.php): template newsletter band */
.call-to-action.call-to-action-secondary {
	background: var(--jc-accent) !important;
	padding: 2.75rem 0;
}

.call-to-action.call-to-action-secondary .btn-primary {
	background: var(--jc-dark) !important;
	border-color: var(--jc-dark) !important;
	border-radius: 5px;
	font-family: var(--jc-ui) !important;
	font-weight: 700;
	padding: 1rem 2.6rem !important;
}

.call-to-action.call-to-action-secondary .btn-primary:hover {
	background: #fff !important;
	color: var(--jc-dark) !important;
	border-color: #fff !important;
}

.call-to-action.call-to-action-secondary span {
	color: #fff !important;
	font-family: var(--jc-title) !important;
}

/* ==========================================================================
   Footer (includes/footer.php; structure is cmsdev's, design rule 1)
   Template footer: dark ground, bold white headings, quiet links.
   ========================================================================== */
#footer {
	margin-top: 0 !important;
	padding-top: 4.5rem;   /* also stops the first row's margin escaping as a white strip */
	background: var(--jc-dark) !important;
	border-top: 0;
}

#footer > .container {
	padding-bottom: 2.5rem;
}

#footer h5,
#footer .footer-title {
	font-family: var(--jc-title) !important;
	font-size: 1.45rem !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;   /* Porto's tighter heading line-height made two-line titles overlap */
	text-transform: none !important;
	letter-spacing: 0 !important;
	color: #fff !important;
}

#footer a:not(.btn),
#footer .footer-text {
	color: rgba(255, 255, 255, .82) !important;
}

#footer a:not(.btn):hover .footer-text,
#footer a:not(.btn):hover {
	color: #fff !important;
}

#footer .footer-copyright {
	background: #0b0a0a !important;
	border-top: 0;
}

/* ==========================================================================
   Phones
   ========================================================================== */
@media (max-width: 575.98px) {
	.content-card .card-body {
		padding: 1.5rem 1.25rem !important;
	}

	.main > .section.section-light:not(.jc-plain),
	html .section.jc-reviews {
		padding-top: 3.5rem !important;
		padding-bottom: 3.5rem !important;
	}

	.jc-feature {
		padding: 1.9rem 1.5rem;
	}
}
