/*
Theme Name: PJC Pro
Theme URI: https://pjcinc.com/
Description: Genesis child theme for Perry Johnson Consulting, Inc. Sticky one-row header, full-width hero, overlapping feature cards, image-card grid, slider band, testimonials, latest-posts grid and a four-column footer. All visual formatting lives in this stylesheet.
Author: Perry Johnson Consulting, Inc.
Template: genesis
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pjc-pro
*/

/* ==========================================================================
   Table of contents
   1.  Design tokens
   2.  Reset & base
   3.  Typography
   4.  Buttons & forms
   5.  Layout helpers
   6.  Header & navigation
   7.  Inner page banner & content
   8.  Home: hero & feature cards
   9.  Home: band, splits, card grid
   10. Home: slider band, testimonials, blog, CTA
   11. Footer
   12. Floating CTA
   13. Blog / archives / sidebar / comments
   14. WordPress & plugin compatibility
   15. Responsive
   ========================================================================== */

/* 1. Design tokens ------------------------------------------------------- */
:root {
	--pjc-blue: #0096d8;         /* PJC logo light blue */
	--pjc-blue-dark: #0074a8;
	--pjc-blue-deep: #005b85;
	--pjc-ice: #eaf6fc;          /* light blue tint */
	--pjc-black: #121417;        /* PJC logo black */
	--pjc-charcoal: #23292f;     /* dark bands */
	--pjc-ink: #1f252b;          /* body text */
	--pjc-muted: #5c6873;
	--pjc-border: #d9e2e8;
	--pjc-surface: #f5f8fa;
	--pjc-white: #ffffff;
	--pjc-red: #d0212a;         /* floating "Request a Free Quote" button */

	--pjc-font-head: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	--pjc-font-body: "Open Sans", "Helvetica Neue", Arial, sans-serif;

	--pjc-wrap: 1180px;
	--pjc-gutter: 24px;
	--pjc-radius: 10px;
	--pjc-radius-sm: 6px;
	--pjc-shadow: 0 10px 30px rgba(18, 20, 23, 0.10);
	--pjc-shadow-sm: 0 3px 12px rgba(18, 20, 23, 0.08);
	--pjc-card-line: #3d454d;     /* dark gray bottom line on cards */
	--pjc-shadow-card: 0 8px 22px rgba(18, 20, 23, 0.22), 0 2px 5px rgba(18, 20, 23, 0.12);
	--pjc-shadow-card-hover: 0 16px 34px rgba(18, 20, 23, 0.30), 0 3px 8px rgba(18, 20, 23, 0.14);
	--pjc-header-h: 84px;
	--pjc-ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2. Reset & base -------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--pjc-white);
	color: var(--pjc-ink);
	font-family: var(--pjc-font-body);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img, embed, iframe, object, video { max-width: 100%; }
img { height: auto; vertical-align: middle; border: 0; }

a { color: var(--pjc-blue-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s var(--pjc-ease), background-color .2s var(--pjc-ease), border-color .2s var(--pjc-ease), box-shadow .2s var(--pjc-ease), transform .2s var(--pjc-ease); }
a:hover, a:focus { color: var(--pjc-black); }

:focus-visible { outline: 3px solid var(--pjc-blue); outline-offset: 2px; }

hr { border: 0; border-top: 1px solid var(--pjc-border); margin: 2em 0; }

::selection { background: var(--pjc-blue); color: var(--pjc-white); }

.screen-reader-text,
.screen-reader-shortcut,
.genesis-skip-link .skip-link-hidden {
	position: absolute !important;
	clip: rect(0, 0, 0, 0);
	height: 1px; width: 1px;
	overflow: hidden;
	border: 0;
	word-wrap: normal !important;
}
.screen-reader-shortcut:focus,
.screen-reader-text:focus {
	clip: auto !important;
	height: auto; width: auto;
	display: block;
	padding: 14px 20px;
	z-index: 100000;
	background: var(--pjc-white);
	color: var(--pjc-black);
	box-shadow: var(--pjc-shadow);
	text-decoration: none;
}
.genesis-skip-link { margin: 0; }
.genesis-skip-link li { list-style: none; height: 0; width: 0; }

/* 3. Typography ---------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .5em;
	color: var(--pjc-black);
	font-family: var(--pjc-font-head);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
}
h1 { font-size: 44px; }
h2 { font-size: 31px; }
h3 { font-size: 23px; }
h4 { font-size: 20px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

p { margin: 0 0 1.2em; }
b, strong { font-weight: 700; }
em, i { font-style: italic; }
small { font-size: .85em; }

ul, ol { margin: 0 0 1.4em; padding-left: 1.4em; }
li { margin-bottom: .35em; }

blockquote {
	margin: 1.5em 0;
	padding: .5em 0 .5em 1.4em;
	border-left: 4px solid var(--pjc-blue);
	color: var(--pjc-ink);
	font-style: italic;
}
blockquote p:last-child { margin-bottom: 0; }

code, pre, kbd { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; }
pre { overflow: auto; padding: 1em; background: var(--pjc-surface); border-radius: var(--pjc-radius-sm); }

table { width: 100%; margin-bottom: 1.6em; border-collapse: collapse; border-spacing: 0; font-size: 16px; }
th, td { padding: 10px 14px; border: 1px solid var(--pjc-border); text-align: left; }
th { background: var(--pjc-ice); color: var(--pjc-black); font-family: var(--pjc-font-head); font-weight: 600; }
tbody tr:nth-child(even) { background: var(--pjc-surface); }

/* 4. Buttons & forms ----------------------------------------------------- */
.pjc-btn,
.button,
.more-link,
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.wp-block-button__link,
.gform_wrapper .gform_button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	padding: 13px 26px;
	border: 2px solid var(--pjc-blue);
	border-radius: var(--pjc-radius-sm);
	background: var(--pjc-blue);
	color: var(--pjc-white);
	font-family: var(--pjc-font-head);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .08em;
	line-height: 1.2;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	white-space: normal;
	transition: background-color .2s var(--pjc-ease), border-color .2s var(--pjc-ease), color .2s var(--pjc-ease), transform .2s var(--pjc-ease), box-shadow .2s var(--pjc-ease);
}
.pjc-btn:hover, .pjc-btn:focus,
.button:hover, .button:focus,
.more-link:hover, .more-link:focus,
button:hover, button:focus,
input[type="button"]:hover, input[type="submit"]:hover,
.wp-block-button__link:hover, .wp-block-button__link:focus,
.gform_wrapper .gform_button:hover {
	background: var(--pjc-black);
	border-color: var(--pjc-black);
	color: var(--pjc-white);
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(18, 20, 23, .18);
}
.pjc-btn--small,
.more-link { padding: 9px 18px; font-size: 12px; }
.pjc-btn--outline,
.is-style-outline .wp-block-button__link { background: transparent; color: var(--pjc-blue-dark); }
.pjc-btn--outline:hover, .pjc-btn--outline:focus { background: var(--pjc-blue); border-color: var(--pjc-blue); color: var(--pjc-white); }
.pjc-btn--light { background: var(--pjc-white); border-color: var(--pjc-white); color: var(--pjc-black); }
.pjc-btn--light:hover, .pjc-btn--light:focus { background: var(--pjc-blue); border-color: var(--pjc-blue); color: var(--pjc-white); }
.more-link { margin-left: .4em; }

input, select, textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--pjc-border);
	border-radius: var(--pjc-radius-sm);
	background: var(--pjc-white);
	color: var(--pjc-ink);
	font-family: var(--pjc-font-body);
	font-size: 16px;
	line-height: 1.4;
	transition: border-color .2s var(--pjc-ease), box-shadow .2s var(--pjc-ease);
}
input:focus, select:focus, textarea:focus {
	border-color: var(--pjc-blue);
	box-shadow: 0 0 0 3px rgba(0, 150, 216, .18);
	outline: none;
}
input[type="checkbox"], input[type="radio"], input[type="image"] { width: auto; }
input[type="submit"], button { width: auto; }
::placeholder { color: #8a96a0; opacity: 1; }

.search-form { display: flex; gap: 0; }
.search-form input[type="search"] { border-radius: var(--pjc-radius-sm) 0 0 var(--pjc-radius-sm); }
.search-form input[type="submit"] { border-radius: 0 var(--pjc-radius-sm) var(--pjc-radius-sm) 0; padding: 12px 18px; }

/* 5. Layout helpers ------------------------------------------------------ */
.pjc-wrap,
.site-header > .wrap,
.site-footer > .wrap {
	width: 100%;
	max-width: var(--pjc-wrap);
	margin: 0 auto;
	padding-left: var(--pjc-gutter);
	padding-right: var(--pjc-gutter);
}
.pjc-center { text-align: center; }
.site-container { position: relative; }

.site-inner {
	width: 100%;
	max-width: var(--pjc-wrap);
	margin: 0 auto;
	padding: 24px var(--pjc-gutter) 80px; /* top space below the title banner (was 64px) */
	word-wrap: break-word;
}
.content-sidebar-wrap { display: flex; gap: 48px; align-items: flex-start; }
.content { flex: 1 1 auto; min-width: 0; }
.sidebar { flex: 0 0 320px; }
.sidebar-content .content-sidebar-wrap { flex-direction: row-reverse; }
.full-width-content .content { width: 100%; }

/* 6. Header & navigation ------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 999;
	background: var(--pjc-white);
	border-top: 4px solid var(--pjc-blue);
	transition: box-shadow .25s var(--pjc-ease);
}
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(18, 20, 23, .10); }

.site-header > .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	max-width: 1320px;
	min-height: var(--pjc-header-h);
}

.title-area { flex: 0 1 auto; min-width: 0; margin: 0; padding: 10px 0; }
.site-title { margin: 0; line-height: 0; }
.site-title a { display: inline-block; }
.site-title img,
.custom-logo { width: auto; max-width: min(260px, 52vw); max-height: 64px; }
/* The existing PJC logo is a JPG on a light-grey field – lift the grey to white so it sits cleanly on the header. */
.custom-logo-link.is-fallback img { filter: brightness(1.075) contrast(1.05); }

.nav-primary { flex: 1 1 auto; display: flex; justify-content: flex-end; }

.genesis-nav-menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	margin: 0;
	padding: 0;
	list-style: none;
}
.genesis-nav-menu .menu-item { position: relative; margin: 0; list-style: none; }
.genesis-nav-menu > .menu-item > a {
	display: flex;
	align-items: center;
	gap: 5px;
	padding: 30px 13px;
	color: var(--pjc-black);
	font-family: var(--pjc-font-head);
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	position: relative;
}
.genesis-nav-menu > .menu-item > a::after {
	content: "";
	position: absolute;
	left: 13px; right: 13px; bottom: 20px;
	height: 2px;
	background: var(--pjc-blue);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .25s var(--pjc-ease);
}
.genesis-nav-menu > .menu-item > a:hover::after,
.genesis-nav-menu > .menu-item:focus-within > a::after,
.genesis-nav-menu > .current-menu-item > a::after,
.genesis-nav-menu > .current-menu-ancestor > a::after { transform: scaleX(1); }
.genesis-nav-menu a:hover,
.genesis-nav-menu .current-menu-item > a,
.genesis-nav-menu .current-menu-ancestor > a { color: var(--pjc-blue-dark); }

.pjc-caret {
	display: inline-block;
	width: 6px; height: 6px;
	margin-left: 2px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	opacity: .7;
}

/* Dropdowns */
.genesis-nav-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 99;
	min-width: 250px;
	margin: 0;
	padding: 10px 0;
	list-style: none;
	background: var(--pjc-white);
	border-top: 3px solid var(--pjc-blue);
	border-radius: 0 0 var(--pjc-radius-sm) var(--pjc-radius-sm);
	box-shadow: var(--pjc-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .2s var(--pjc-ease), transform .2s var(--pjc-ease), visibility 0s linear .2s;
}
.genesis-nav-menu .sub-menu .sub-menu { top: -13px; left: 100%; border-radius: var(--pjc-radius-sm); }
.genesis-nav-menu > .menu-item:nth-last-child(-n+2) > .sub-menu { left: auto; right: 0; }
.genesis-nav-menu > .menu-item:nth-last-child(-n+3) .sub-menu .sub-menu { left: auto; right: 100%; }
.genesis-nav-menu .menu-item:hover > .sub-menu,
.genesis-nav-menu .menu-item:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	transition-delay: 0s;
}
.genesis-nav-menu .sub-menu a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 9px 20px;
	color: var(--pjc-ink);
	font-family: var(--pjc-font-body);
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.35;
	text-decoration: none;
}
.genesis-nav-menu .sub-menu a:hover,
.genesis-nav-menu .sub-menu a:focus { background: var(--pjc-ice); color: var(--pjc-blue-dark); }
.genesis-nav-menu .sub-menu .pjc-caret { transform: rotate(-45deg); }

.header-actions { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.header-phone {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 14px;
	border-radius: 999px;
	background: var(--pjc-ice);
	color: var(--pjc-blue-deep);
	font-family: var(--pjc-font-head);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}
.header-phone:hover, .header-phone:focus { background: var(--pjc-blue); color: var(--pjc-white); }

.menu-toggle,
.sub-menu-toggle { display: none; }

/* 7. Inner page banner & content ---------------------------------------- */
.pjc-page-banner {
	position: relative;
	padding: 72px 0 64px;
	background-color: var(--pjc-charcoal);
	background-image: linear-gradient(115deg, var(--pjc-black) 0%, var(--pjc-charcoal) 55%, var(--pjc-blue-deep) 140%);
	background-size: cover;
	background-position: center;
	color: var(--pjc-white);
	overflow: hidden;
}
.pjc-page-banner::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(18, 20, 23, .88) 0%, rgba(18, 20, 23, .55) 60%, rgba(0, 116, 168, .35) 100%);
	opacity: 0;
}
.pjc-page-banner.has-image::before { opacity: 1; }
.pjc-page-banner::after {
	content: "";
	position: absolute;
	left: 0; bottom: 0;
	width: 120px; height: 5px;
	background: var(--pjc-blue);
}
.pjc-page-banner .pjc-wrap { position: relative; }
.pjc-page-banner__title { margin: 0 0 10px; color: var(--pjc-white); font-size: 42px; font-weight: 800; }
.pjc-page-banner .breadcrumb { margin: 0; color: rgba(255, 255, 255, .75); font-size: 14px; }
.pjc-page-banner .breadcrumb a { color: var(--pjc-white); text-decoration: none; }
.pjc-page-banner .breadcrumb a:hover { color: #7fd1f3; }
.pjc-page-banner .breadcrumb .sep { margin: 0 8px; opacity: .6; }

.entry { margin-bottom: 48px; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content h2 { margin-top: 1.4em; }
.entry-content > h2:first-child { margin-top: 0; }
.entry-content h3 { margin-top: 1.3em; color: var(--pjc-blue-deep); }
.entry-content ul li::marker { color: var(--pjc-blue); }
.entry-content img.alignleft, .alignleft { float: left; margin: .3em 1.6em 1em 0; }
.entry-content img.alignright, .alignright { float: right; margin: .3em 0 1em 1.6em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { color: var(--pjc-muted); font-size: 14px; text-align: center; }

/* Form box floated to the top right of page content (e.g. Gravity Form on ISO 9001).
   Usage in page content: <div class="pjc-side-form">[gravityform id="55" ...]</div> */
.pjc-side-form {
	float: right;
	width: 380px;
	max-width: 100%;
	margin: 0 0 24px 32px;
	padding: 10px;
	background: var(--pjc-ice);
}
.pjc-side-form .gform_wrapper { margin: 0; }
.pjc-side-form .gform_title { margin: 0 0 10px; font-size: 20px; }
/* Heading and intro line scale with the box width (container units) so each fits one line edge to edge. */
.pjc-side-form { container-type: inline-size; }
.pjc-side-form .pjc-side-form__title {
	margin: 5px 0 6px;
	font-size: 22px;
	font-size: 6.15cqw;
	line-height: 1.15;
	letter-spacing: -0.01em;
	text-align: center;
	white-space: nowrap;
}
.pjc-side-form .pjc-side-form__text {
	margin: 0 0 17px;
	font-size: 14px;
	font-size: 3.85cqw;
	line-height: 1.4;
	text-align: center;
	white-space: nowrap;
}
.pjc-side-form .gform_required_legend { display: none; }
/* Tighter space above and below the Submit button (Gravity Forms default is 6px + 16px above, 16px below). */
.pjc-side-form .gform_wrapper.gravity-theme .gform_footer { margin-top: 0; padding-top: 12px; padding-bottom: 6px; }
.pjc-side-form ~ .alignright,
.pjc-side-form ~ p > .alignright,
.pjc-side-form ~ p > a > .alignright { clear: right; }

/* 8. Home: hero & feature cards ----------------------------------------- */
.pjc-home .site-inner { max-width: none; padding: 0; }
.pjc-home .content { width: 100%; }

.pjc-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 440px;
	padding: 40px 0 150px;
	background-color: var(--pjc-black);
	background-size: cover;
	background-position: center top;
	color: var(--pjc-white);
	isolation: isolate;
}
/* Desktop: the hero takes the photo's own proportions (1650 × 634), so the whole
   image is shown edge to edge without being zoomed or cropped. */
@media (min-width: 1081px) {
	.pjc-hero { min-height: 0; aspect-ratio: 1650 / 634; }
}
.pjc-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(18, 20, 23, .90) 0%, rgba(18, 20, 23, .70) 30%, rgba(18, 20, 23, .15) 58%, rgba(18, 20, 23, 0) 75%),
		linear-gradient(0deg, rgba(18, 20, 23, .55) 0%, rgba(18, 20, 23, 0) 40%);
}
.pjc-hero__inner { max-width: var(--pjc-wrap); }
.pjc-hero__title {
	max-width: none;
	margin: 0 0 18px;
	padding-top: 22px;
	position: relative;
	color: var(--pjc-white);
	font-size: clamp(35px, calc(3.5vw + 9px), 61px);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.02em;
	text-transform: none;
	text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}
.pjc-hero__title::before {
	content: "";
	position: absolute;
	top: 0; left: 0;
	width: 72px; height: 5px;
	border-radius: 3px;
	background: var(--pjc-blue);
}
.pjc-hero__line { display: block; white-space: nowrap; }
.pjc-hero__subtitle {
	max-width: 640px;
	margin: 0;
	color: #cdeefc;
	font-family: var(--pjc-font-head);
	font-size: clamp(18px, 1.9vw, 24px);
	font-weight: 600;
	font-style: italic;
}
/* Desktop: let the tagline use the full width so it stays on one line. */
@media (min-width: 1081px) {
	.pjc-hero__subtitle { max-width: none; }
}

.pjc-features { position: relative; z-index: 2; margin-top: -125px; }
.pjc-features__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}
.pjc-feature-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 36px 30px 32px;
	background: var(--pjc-white);
	border: 1px solid var(--pjc-border);
	border-bottom: 4px solid var(--pjc-card-line);
	border-radius: var(--pjc-radius);
	box-shadow: var(--pjc-shadow-card);
	text-align: center;
	transition: transform .25s var(--pjc-ease), box-shadow .25s var(--pjc-ease);
}
.pjc-feature-card:hover { transform: translateY(-6px); box-shadow: var(--pjc-shadow-card-hover); }
.pjc-feature-card__icon {
	display: grid;
	place-items: center;
	width: 62px; height: 62px;
	margin-bottom: 16px;
	border-radius: 50%;
	background: var(--pjc-ice);
	color: var(--pjc-blue);
}
.pjc-feature-card__icon .pjc-icon { width: 30px; height: 30px; }
.pjc-feature-card__title { margin: 0 0 12px; font-size: 22px; }
.pjc-feature-card p { flex: 1; margin-bottom: 22px; color: var(--pjc-muted); font-size: 15.5px; }

.pjc-icon { width: 20px; height: 20px; display: inline-block; }

/* 9. Home: band, splits, card grid -------------------------------------- */
.pjc-section { padding: 88px 0; }
.pjc-section--tight { padding: 56px 0 80px; }
.pjc-section__title {
	position: relative;
	margin: 0 0 40px;
	padding-bottom: 18px;
	font-size: 33px;
	text-align: center;
}
.pjc-section__title::after {
	content: "";
	position: absolute;
	left: 50%; bottom: 0;
	width: 60px; height: 4px;
	margin-left: -30px;
	border-radius: 2px;
	background: var(--pjc-blue);
}

.pjc-band {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	padding: 44px 48px;
	border-radius: var(--pjc-radius);
	background: linear-gradient(120deg, #15181c 0%, #2a3036 100%);
	border-left: 5px solid var(--pjc-blue);
	color: var(--pjc-white);
	box-shadow: var(--pjc-shadow);
	position: relative;
	overflow: hidden;
}
.pjc-band::after {
	content: "";
	position: absolute;
	right: -60px; top: -60px;
	width: 220px; height: 220px;
	border: 28px solid rgba(0, 150, 216, .14);
	border-radius: 50%;
	pointer-events: none;
}
.pjc-band__text { max-width: 720px; position: relative; z-index: 1; }
.pjc-band h2 { margin: 0 0 8px; color: var(--pjc-white); font-size: 27px; }
.pjc-band p { margin: 0; color: rgba(255, 255, 255, .92); font-size: 16px; }
.pjc-band .pjc-btn { flex: 0 0 auto; position: relative; z-index: 1; }

.pjc-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	min-height: 420px;
}
.pjc-split__media { height: 100%; min-height: 380px; position: relative; overflow: hidden; }
.pjc-split__media img {
	position: absolute;
	inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform .6s var(--pjc-ease);
}
.pjc-split:hover .pjc-split__media img { transform: scale(1.03); }
.pjc-split__body { padding: 56px max(var(--pjc-gutter), calc((100vw - var(--pjc-wrap)) / 2 + var(--pjc-gutter))) 56px 64px; max-width: none; }
.pjc-split__body h2 { font-size: 31px; }
.pjc-split__body p { color: var(--pjc-muted); }
.pjc-split--image-left { margin-bottom: 88px; }
.pjc-split--image-left .pjc-split__media { border-radius: 0 var(--pjc-radius) var(--pjc-radius) 0; box-shadow: var(--pjc-shadow); }
.pjc-split--image-right { background: var(--pjc-ice); }
.pjc-split--image-right .pjc-split__media { order: 2; }
.pjc-split--image-right .pjc-split__body { order: 1; padding: 56px 64px 56px max(var(--pjc-gutter), calc((100vw - var(--pjc-wrap)) / 2 + var(--pjc-gutter))); }

.pjc-card-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}
.pjc-image-card {
	display: flex;
	flex-direction: column;
	padding: 18px 18px 22px;
	background: var(--pjc-surface);
	border: 1px solid var(--pjc-border);
	border-bottom: 4px solid var(--pjc-card-line);
	border-radius: var(--pjc-radius);
	box-shadow: var(--pjc-shadow-card);
	color: var(--pjc-ink);
	text-align: center;
	text-decoration: none;
	transition: transform .25s var(--pjc-ease), box-shadow .25s var(--pjc-ease), border-color .25s var(--pjc-ease);
}
.pjc-image-card:hover,
.pjc-image-card:focus { transform: translateY(-5px); box-shadow: var(--pjc-shadow-card-hover); color: var(--pjc-ink); }
.pjc-image-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--pjc-radius-sm); background: var(--pjc-surface); }
.pjc-image-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--pjc-ease); }
.pjc-image-card:hover .pjc-image-card__media img { transform: scale(1.06); }
.pjc-image-card__title {
	display: block;
	margin: 18px 0 6px;
	color: var(--pjc-black);
	font-family: var(--pjc-font-head);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.pjc-image-card__text { display: block; color: var(--pjc-muted); font-size: 14.5px; line-height: 1.55; }

/* 10. Home: slider band, testimonials, blog, CTA ------------------------ */
.pjc-programs { padding: 72px 0; background: var(--pjc-charcoal); color: var(--pjc-white); position: relative; overflow: hidden; }
.pjc-programs::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 85% 20%, rgba(0, 150, 216, .25), transparent 45%);
	pointer-events: none;
}
.pjc-programs__grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 56px; align-items: center; position: relative; }
.pjc-programs__text h2 { color: var(--pjc-white); font-size: 31px; }
.pjc-programs__text p { color: rgba(255, 255, 255, .82); }

.pjc-programs__media {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: var(--pjc-radius);
	box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
	background: var(--pjc-black);
}
.pjc-programs__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--pjc-ease); }
.pjc-programs__media:hover img { transform: scale(1.03); }
.pjc-slider { position: relative; aspect-ratio: 860 / 440; border-radius: var(--pjc-radius); overflow: hidden; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); background: var(--pjc-black); }
.pjc-slider__track { position: absolute; inset: 0; }
.pjc-slide {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	background-size: cover;
	background-position: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity .7s var(--pjc-ease), visibility 0s linear .7s;
}
.pjc-slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.pjc-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(18, 20, 23, .85) 0%, rgba(18, 20, 23, 0) 60%); }
.pjc-slide__caption { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 26px 30px 44px; }
.pjc-slide__caption h3 { margin: 0; color: var(--pjc-white); font-size: 27px; text-shadow: 0 2px 10px rgba(0, 0, 0, .4); }
.pjc-slider__nav {
	position: absolute;
	top: 50%;
	z-index: 3;
	width: 42px; height: 42px;
	margin-top: -21px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .9);
	color: var(--pjc-black);
	font-size: 26px;
	line-height: 1;
	letter-spacing: 0;
}
.pjc-slider__nav:hover, .pjc-slider__nav:focus { background: var(--pjc-blue); color: var(--pjc-white); transform: none; }
.pjc-slider__prev { left: 14px; }
.pjc-slider__next { right: 14px; }
.pjc-slider__dots { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 3; display: flex; justify-content: center; gap: 8px; }
.pjc-slider__dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .5); box-shadow: none; }
.pjc-slider__dots button:hover { transform: none; background: var(--pjc-white); }
.pjc-slider__dots button.is-active { width: 26px; border-radius: 6px; background: var(--pjc-blue); }

.pjc-testimonials__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: center; }
.pjc-testimonials__body h2 { font-size: 31px; }
.pjc-testimonials__quotes { display: grid; margin-bottom: 28px; }
.pjc-quote {
	grid-area: 1 / 1;
	margin: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .6s var(--pjc-ease), transform .6s var(--pjc-ease), visibility 0s linear .6s;
}
.pjc-quote.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.pjc-quote blockquote {
	margin: 0 0 14px;
	padding: 0 0 0 26px;
	border-left: 4px solid var(--pjc-blue);
	color: var(--pjc-black);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 21px;
	font-style: italic;
	line-height: 1.55;
}
.pjc-quote figcaption { padding-left: 30px; color: var(--pjc-muted); font-size: 14px; font-style: italic; text-align: left; }
.pjc-quote figcaption span { color: var(--pjc-blue-dark); }
.pjc-testimonials__media { position: relative; margin: 0; }
.pjc-testimonials__media img { width: 100%; border-radius: var(--pjc-radius); box-shadow: var(--pjc-shadow); }
.pjc-testimonials__media figcaption {
	position: absolute;
	left: 16px; right: 16px; bottom: 16px;
	padding: 12px 16px;
	border-radius: var(--pjc-radius-sm);
	background: rgba(18, 20, 23, .82);
	color: var(--pjc-white);
	font-family: var(--pjc-font-head);
	font-size: 15px;
	font-weight: 600;
	text-align: left;
}
.pjc-testimonials { position: relative; isolation: isolate; }

.pjc-testimonial-art {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 380px;
	padding: 40px 36px 34px;
	overflow: hidden;
	border-radius: var(--pjc-radius);
	background:
		radial-gradient(circle at 85% 15%, rgba(255, 255, 255, .18), transparent 40%),
		linear-gradient(145deg, var(--pjc-blue) 0%, var(--pjc-blue-deep) 70%, var(--pjc-black) 130%);
	color: var(--pjc-white);
	box-shadow: var(--pjc-shadow);
}
.pjc-testimonial-art__mark {
	position: absolute;
	top: -46px; left: 22px;
	color: rgba(255, 255, 255, .22);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 260px;
	line-height: 1;
}
.pjc-testimonial-art__stars { margin-bottom: 14px; color: #ffd166; font-size: 22px; letter-spacing: 4px; }
.pjc-testimonial-art__heading { margin-bottom: 8px; font-family: var(--pjc-font-head); font-size: 28px; font-weight: 800; line-height: 1.15; }
.pjc-testimonial-art__text { max-width: 320px; margin-bottom: 24px; color: rgba(255, 255, 255, .88); font-size: 16px; line-height: 1.5; }
.pjc-testimonial-art__people { display: flex; }
.pjc-testimonial-art__people i {
	position: relative;
	width: 44px; height: 44px;
	margin-right: -10px;
	border: 3px solid var(--pjc-blue-deep);
	border-radius: 50%;
	background: #d7eef9;
	overflow: hidden;
}
.pjc-testimonial-art__people i::before { content: ""; position: absolute; left: 50%; top: 9px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--pjc-blue-deep); }
.pjc-testimonial-art__people i::after { content: ""; position: absolute; left: 50%; bottom: -10px; width: 28px; height: 22px; margin-left: -14px; border-radius: 50%; background: var(--pjc-blue-deep); }
.pjc-testimonial-art__people i:nth-child(2) { background: #bfe5f6; }
.pjc-testimonial-art__people i:nth-child(3) { background: #e8f6fc; }
.pjc-testimonial-art__people i:nth-child(4) { background: #a9dcf2; }

.pjc-blog { padding-top: 40px; }
.pjc-blog .pjc-section__title { margin-bottom: 18px; }
.pjc-blog .pjc-center { margin-bottom: 40px; }
.pjc-post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.pjc-post-card {
	display: grid;
	grid-template-columns: 46% 1fr;
	min-height: 260px;
	overflow: hidden;
	border-radius: var(--pjc-radius);
	background: var(--pjc-surface);
	border: 1px solid var(--pjc-border);
	border-bottom: 4px solid var(--pjc-card-line);
	box-shadow: var(--pjc-shadow-card);
	transition: box-shadow .25s var(--pjc-ease), transform .25s var(--pjc-ease);
}
.pjc-post-card:hover { transform: translateY(-4px); box-shadow: var(--pjc-shadow-card-hover); }
.pjc-post-card__media { display: block; background-size: cover; background-position: center; background-color: var(--pjc-charcoal); }
.pjc-post-card__body { display: flex; flex-direction: column; align-items: flex-start; padding: 26px 24px; }
.pjc-post-card h3 { margin: 0 0 10px; font-size: 18px; line-height: 1.3; }
.pjc-post-card h3 a { color: var(--pjc-black); text-decoration: none; }
.pjc-post-card h3 a:hover { color: var(--pjc-blue-dark); }
.pjc-post-card__date { margin: 0 0 18px; color: var(--pjc-muted); font-size: 13px; font-style: italic; }
.pjc-post-card .pjc-btn { margin-top: auto; }

.pjc-cta { background: var(--pjc-ice); border-top: 1px solid #d3ebf7; }
.pjc-cta .pjc-section__title { margin-bottom: 16px; }
.pjc-cta__text { max-width: 640px; margin: 0 auto 28px; color: var(--pjc-muted); font-size: 18px; }
.pjc-cta__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 18px; }
.pjc-cta__phone { margin: 0; color: var(--pjc-muted); font-size: 18px; }
.pjc-cta__phone a { color: var(--pjc-black); font-weight: 700; text-decoration: none; white-space: nowrap; }
.pjc-cta__phone a:hover { color: var(--pjc-blue-dark); }

/* 11. Footer ------------------------------------------------------------- */
.pjc-footer-widgets {
	padding: 72px 0 48px;
	background: var(--pjc-black);
	color: rgba(255, 255, 255, .78);
	font-size: 14.5px;
	border-top: 5px solid var(--pjc-blue);
}
.pjc-footer-widgets__grid { display: grid; grid-template-columns: 1.1fr 1fr .9fr 1.15fr; gap: 44px; }
.pjc-footer-widgets .widget { margin-bottom: 28px; }
.pjc-footer-widgets .widget-title {
	margin: 0 0 18px;
	color: var(--pjc-white);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.pjc-footer-widgets a { color: #6cc8f0; text-decoration: none; }
.pjc-footer-widgets a:hover, .pjc-footer-widgets a:focus { color: var(--pjc-white); text-decoration: underline; }
.pjc-footer-widgets p { margin-bottom: 1em; }
.pjc-footer-widgets ul { margin: 0; padding: 0; list-style: none; }
.pjc-footer-links li { margin-bottom: 8px; }
.pjc-footer-links a { color: rgba(255, 255, 255, .78); }
.pjc-footer-links a::before { content: "›"; margin-right: 8px; color: var(--pjc-blue); }

.pjc-footer-widgets .pjc-btn,
.pjc-footer-widgets .pjc-btn:visited { color: var(--pjc-white); text-decoration: none; }
.pjc-footer-widgets .pjc-btn:hover,
.pjc-footer-widgets .pjc-btn:focus {
	background: var(--pjc-black);
	border-color: var(--pjc-black);
	color: var(--pjc-white);
	text-decoration: none;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .35), 0 6px 16px rgba(0, 0, 0, .4);
}
.pjc-subscribe { display: grid; gap: 10px; margin-bottom: 26px; }
.pjc-subscribe input[type="email"] { background: var(--pjc-white); border-color: var(--pjc-white); color: var(--pjc-ink); }
.pjc-subscribe input[type="email"]::placeholder { color: #6b7782; }
.pjc-subscribe button { justify-self: start; }
.pjc-gov { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: center; }
.pjc-gov img { border-radius: var(--pjc-radius-sm); }
.pjc-gov p { margin: 0; color: var(--pjc-white); font-family: var(--pjc-font-head); font-weight: 600; line-height: 1.4; }
.pjc-anniversary { display: block; max-width: 200px; margin-bottom: 18px; filter: brightness(1.15); }
.pjc-ceo { display: flex; gap: 14px; align-items: center; }
.pjc-ceo img { width: 84px; height: 96px; object-fit: cover; object-position: top; border-radius: var(--pjc-radius-sm); }
.pjc-ceo p { margin: 0; color: var(--pjc-white); }
.pjc-ceo em { color: rgba(255, 255, 255, .65); font-size: 13px; }
.pjc-social { display: flex; gap: 10px; margin: 0 0 22px !important; }
.pjc-social a {
	display: grid;
	place-items: center;
	width: 38px; height: 38px;
	border-radius: 50%;
	background: #1f262d;
	color: var(--pjc-white) !important;
	text-decoration: none !important;
}
.pjc-social a:hover, .pjc-social a:focus { background: var(--pjc-blue); }
.pjc-social .pjc-icon { width: 17px; height: 17px; }
.pjc-footer-widgets .search-form input[type="search"] { background: var(--pjc-white); }

.site-footer { padding: 22px 0; background: #0a0c0e; color: rgba(255, 255, 255, .6); font-size: 13px; }
.site-footer p { margin: 0; }
.site-footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.site-footer a:hover { color: var(--pjc-blue); }
.pjc-footer-bar { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.pjc-footer-bar__logo { display: inline-block; flex: 0 0 auto; line-height: 0; }
.pjc-footer-bar__logo img { width: 44px; height: 44px; object-fit: contain; border-radius: 4px; background: var(--pjc-white); }
.pjc-footer-bar__logo:hover img { box-shadow: 0 0 0 2px var(--pjc-blue); }
.nav-secondary .genesis-nav-menu { justify-content: center; margin-bottom: 14px; }
.nav-secondary .genesis-nav-menu a { padding: 6px 12px; color: rgba(255, 255, 255, .8); font-size: 13px; }
.nav-secondary .genesis-nav-menu > .menu-item > a::after { bottom: 0; }

/* 12. Floating CTA ------------------------------------------------------- */
.pjc-float-cta {
	position: fixed;
	left: 50%;
	bottom: 18px;
	z-index: 998;
	padding: 11px 22px;
	border-radius: 999px;
	background: var(--pjc-red);
	color: var(--pjc-white);
	font-family: var(--pjc-font-head);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-decoration: none;
	box-shadow: 0 8px 24px rgba(200, 30, 36, .45);
	white-space: nowrap;
	transform: translateX(-50%);
}
.pjc-float-cta:hover, .pjc-float-cta:focus { background: var(--pjc-black); color: var(--pjc-white); box-shadow: 0 8px 24px rgba(18, 20, 23, .35); }

/* 13. Blog / archives / sidebar / comments ------------------------------ */
.entry-header { margin-bottom: 18px; }
.entry-title { font-size: 29px; }
.entry-title a { color: var(--pjc-black); text-decoration: none; }
.entry-title a:hover { color: var(--pjc-blue-dark); }
.entry-meta { color: var(--pjc-muted); font-size: 14px; font-style: italic; }
.entry-meta a { color: var(--pjc-blue-dark); }
.entry-footer .entry-meta { padding-top: 16px; border-top: 1px solid var(--pjc-border); }
.blog .entry, .archive .entry, .search .entry {
	padding: 32px;
	border: 1px solid var(--pjc-border);
	border-radius: var(--pjc-radius);
	background: var(--pjc-white);
	box-shadow: var(--pjc-shadow-sm);
}
.entry-image-link img, .post-image { border-radius: var(--pjc-radius-sm); margin-bottom: 16px; }
.archive-description, .author-box {
	margin-bottom: 40px;
	padding: 28px 32px;
	border-left: 4px solid var(--pjc-blue);
	background: var(--pjc-ice);
	border-radius: 0 var(--pjc-radius) var(--pjc-radius) 0;
}
.archive-pagination ul { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.archive-pagination a {
	display: block;
	padding: 8px 14px;
	border-radius: var(--pjc-radius-sm);
	background: var(--pjc-surface);
	color: var(--pjc-black);
	font-weight: 600;
	text-decoration: none;
}
.archive-pagination .active a, .archive-pagination a:hover { background: var(--pjc-blue); color: var(--pjc-white); }
.adjacent-entry-pagination { display: flex; justify-content: space-between; gap: 20px; margin: 40px 0; }

.sidebar .widget {
	margin-bottom: 32px;
	padding: 26px;
	border: 1px solid var(--pjc-border);
	border-top: 4px solid var(--pjc-blue);
	border-radius: var(--pjc-radius-sm);
	background: var(--pjc-white);
	font-size: 15.5px;
}
.sidebar .widget-title { margin-bottom: 14px; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }
.sidebar ul { padding: 0; list-style: none; }
.sidebar li { padding: 7px 0; border-bottom: 1px solid var(--pjc-border); }
.sidebar li:last-child { border-bottom: 0; }
.sidebar a { color: var(--pjc-ink); text-decoration: none; }
.sidebar a:hover { color: var(--pjc-blue-dark); }

.comment-respond, .entry-comments, .entry-pings { margin-top: 48px; padding: 32px; border-radius: var(--pjc-radius); background: var(--pjc-surface); }
.comment-list { padding: 0; list-style: none; }
.comment-list li { margin-top: 24px; }
.comment-author img { border-radius: 50%; margin-right: 10px; }
.comment-respond label { display: block; margin-bottom: 6px; font-weight: 600; }

.error404 .entry-content .search-form { max-width: 520px; margin-top: 20px; }

/* 14. WordPress & plugin compatibility ---------------------------------- */
.alignwide { margin-left: -60px; margin-right: -60px; max-width: calc(100% + 120px); }
.alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.full-width-content .alignwide, .full-width-content .alignfull { width: auto; }
.wp-block-image img { border-radius: var(--pjc-radius-sm); }
.wp-block-separator { border-top: 2px solid var(--pjc-border); }
.wp-block-quote { border-left-color: var(--pjc-blue); }
.wp-block-pullquote { border-top: 4px solid var(--pjc-blue); border-bottom: 4px solid var(--pjc-blue); }

.has-pjc-blue-color { color: var(--pjc-blue) !important; }
.has-pjc-blue-background-color { background-color: var(--pjc-blue) !important; }
.has-pjc-blue-dark-color { color: var(--pjc-blue-dark) !important; }
.has-pjc-blue-dark-background-color { background-color: var(--pjc-blue-dark) !important; }
.has-pjc-ice-color { color: var(--pjc-ice) !important; }
.has-pjc-ice-background-color { background-color: var(--pjc-ice) !important; }
.has-pjc-black-color { color: var(--pjc-black) !important; }
.has-pjc-black-background-color { background-color: var(--pjc-black) !important; }
.has-pjc-charcoal-color { color: var(--pjc-charcoal) !important; }
.has-pjc-charcoal-background-color { background-color: var(--pjc-charcoal) !important; }
.has-white-color { color: var(--pjc-white) !important; }
.has-white-background-color { background-color: var(--pjc-white) !important; }

/* Gravity Forms */
.gform_wrapper .gfield_label { font-family: var(--pjc-font-head); font-weight: 600; }
.gform_wrapper .gfield_required { color: var(--pjc-blue-dark); }

/* Elementor content placed inside pages keeps the theme fonts */
.elementor-widget-text-editor, .elementor-widget-heading .elementor-heading-title { font-family: inherit; }
.elementor-page.full-width-content .site-inner { max-width: none; padding-left: 0; padding-right: 0; }

/* Legacy Executive Pro widget classes that may still appear in old page content */
.featured-content .entry { padding: 0; border: 0; box-shadow: none; }

/* 15. Responsive -------------------------------------------------------- */
@media (max-width: 1240px) {
	.genesis-nav-menu > .menu-item > a { padding-left: 9px; padding-right: 9px; font-size: 14px; }
	.genesis-nav-menu > .menu-item > a::after { left: 9px; right: 9px; }
	.header-phone span { display: none; }
	.header-phone { padding: 10px; }
}

@media (max-width: 1080px) {
	:root { --pjc-header-h: 72px; }
	.site-header > .wrap { flex-wrap: wrap; gap: 0 16px; }
	.title-area { flex: 1 1 0; }
	.site-title img, .custom-logo { max-height: 52px; }
	.header-actions { order: 2; }
	.header-phone span { display: inline; }
	.header-phone { padding: 9px 14px; }

	.menu-toggle {
		display: inline-grid;
		place-items: center;
		width: 46px; height: 46px;
		padding: 0;
		border: 0;
		border-radius: var(--pjc-radius-sm);
		background: var(--pjc-black);
		box-shadow: none;
	}
	.menu-toggle:hover, .menu-toggle:focus { background: var(--pjc-blue); transform: none; }
	.menu-toggle__bars,
	.menu-toggle__bars::before,
	.menu-toggle__bars::after {
		display: block;
		width: 22px; height: 2px;
		border-radius: 2px;
		background: var(--pjc-white);
		transition: transform .25s var(--pjc-ease), opacity .2s;
	}
	.menu-toggle__bars { position: relative; }
	.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
	.menu-toggle__bars::before { top: -7px; }
	.menu-toggle__bars::after { top: 7px; }
	.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
	.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
	.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

	.nav-primary {
		order: 3;
		flex: 1 1 100%;
		display: none;
		max-height: calc(100vh - var(--pjc-header-h) - 20px);
		overflow-y: auto;
		margin: 0 calc(var(--pjc-gutter) * -1);
		padding: 8px 0 18px;
		border-top: 1px solid var(--pjc-border);
	}
	.nav-primary.is-open { display: block; }
	.genesis-nav-menu { display: block; }
	.genesis-nav-menu .menu-item { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--pjc-border); }
	.genesis-nav-menu .menu-item > a { flex: 1 1 auto; }
	.genesis-nav-menu > .menu-item > a { padding: 15px var(--pjc-gutter); font-size: 16px; }
	.genesis-nav-menu > .menu-item > a::after,
	.pjc-caret { display: none; }

	.sub-menu-toggle {
		display: grid;
		place-items: center;
		flex: 0 0 52px;
		height: 48px;
		padding: 0;
		border: 0;
		border-left: 1px solid var(--pjc-border);
		border-radius: 0;
		background: transparent;
		box-shadow: none;
		color: var(--pjc-black);
	}
	.sub-menu-toggle::before {
		content: "";
		width: 9px; height: 9px;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: translateY(-2px) rotate(45deg);
		transform-origin: 50% 50%;
		transition: transform .2s var(--pjc-ease);
	}
	.sub-menu-toggle:hover, .sub-menu-toggle:focus { background: var(--pjc-ice); color: var(--pjc-blue-dark); transform: none; box-shadow: none; }
	.menu-item.is-open > .sub-menu-toggle::before { transform: translateY(2px) rotate(-135deg); }

	.genesis-nav-menu .sub-menu,
	.genesis-nav-menu .sub-menu .sub-menu {
		position: static;
		display: none;
		flex: 1 1 100%;
		min-width: 0;
		padding: 0;
		border: 0;
		border-radius: 0;
		background: var(--pjc-surface);
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		transition: none;
	}
	.genesis-nav-menu .menu-item.is-open > .sub-menu { display: block; }
	.genesis-nav-menu .sub-menu .menu-item:last-child { border-bottom: 0; }
	.genesis-nav-menu .sub-menu a { padding: 12px var(--pjc-gutter) 12px calc(var(--pjc-gutter) + 16px); }
	.genesis-nav-menu .sub-menu .sub-menu a { padding-left: calc(var(--pjc-gutter) + 32px); }

	.pjc-features__grid { gap: 18px; }
	.pjc-feature-card { padding: 28px 20px 26px; }
	.pjc-feature-card__title { font-size: 18px; }
	.pjc-programs__grid { grid-template-columns: 1fr; gap: 36px; }
	.pjc-footer-widgets__grid { grid-template-columns: repeat(2, 1fr); }
	.content-sidebar-wrap { flex-direction: column !important; }
	.sidebar { flex: 1 1 auto; width: 100%; }
	.alignwide { margin-left: 0; margin-right: 0; max-width: 100%; }
}

@media (max-width: 860px) {
	.pjc-side-form { float: none; width: 100%; margin: 0 0 28px; }
	body { font-size: 16px; }
	h1 { font-size: 36px; }
	h2 { font-size: 25px; }
	.pjc-section { padding: 64px 0; }
	.pjc-section__title, .pjc-split__body h2, .pjc-programs__text h2, .pjc-testimonials__body h2 { font-size: 25px; }

	.pjc-hero { padding-bottom: 120px; background-position: 70% top; }
	.pjc-hero::before { background: linear-gradient(90deg, rgba(18, 20, 23, .88) 0%, rgba(18, 20, 23, .55) 60%, rgba(18, 20, 23, .35) 100%); }
	.pjc-features { margin-top: -95px; }
	.pjc-features__grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }

	.pjc-band { flex-direction: column; align-items: flex-start; gap: 22px; padding: 34px 28px; }

	.pjc-split, .pjc-split--image-right { grid-template-columns: 1fr; }
	.pjc-split--image-left { margin-bottom: 0; }
	.pjc-split__media { min-height: 260px; border-radius: 0 !important; }
	.pjc-split--image-right .pjc-split__media { order: 0; }
	.pjc-split__body,
	.pjc-split--image-right .pjc-split__body { order: 1; padding: 40px var(--pjc-gutter) 56px; }

	.pjc-card-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
	.pjc-testimonials__grid { grid-template-columns: 1fr; gap: 48px; }
	.pjc-testimonials__media { max-width: 520px; }
	.pjc-post-grid { grid-template-columns: 1fr; }
	.pjc-page-banner { padding: 52px 0 46px; }
	.pjc-page-banner__title { font-size: 32px; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}

@media (max-width: 600px) {
	:root { --pjc-gutter: 16px; }
	.admin-bar .site-header { top: 0; }
	.header-phone span { display: none; }
	.header-phone { padding: 12px; }
	.pjc-hero { min-height: 440px; }
	.pjc-hero__title { font-size: clamp(25px, calc(8.5vw - 1px), 33px); }
	.pjc-card-grid { grid-template-columns: 1fr; }
	.pjc-post-card { grid-template-columns: 1fr; }
	.pjc-post-card__media { aspect-ratio: 16 / 9; }
	.pjc-slider { aspect-ratio: 4 / 3; }
	.pjc-slide__caption { flex-direction: column; align-items: flex-start; padding: 20px 20px 40px; }
	.pjc-slide__caption h3 { font-size: 21px; }
	.pjc-quote blockquote { font-size: 18px; padding-left: 18px; }
	.pjc-quote figcaption { padding-left: 22px; }
	.pjc-footer-widgets__grid { grid-template-columns: 1fr; gap: 12px; }
	.blog .entry, .archive .entry, .search .entry { padding: 22px; }
	.alignleft, .alignright { float: none; margin: 0 0 1em; }
	.pjc-float-cta { bottom: 12px; padding: 10px 18px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media print {
	.site-header, .pjc-float-cta, .pjc-footer-widgets, .site-footer, .sidebar { display: none !important; }
	body { color: #000; }
}
