/* ==========================================================================
   PGAIR Custom Styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   Global Overrides
   -------------------------------------------------------------------------- */
body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* --------------------------------------------------------------------------
   Fixed Header
   -------------------------------------------------------------------------- */
.pgair-header {
	position: fixed !important;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 50;
	background: #fff;
	transition: box-shadow 0.3s ease, padding 0.3s ease;
	padding-top: 24px;
	padding-bottom: 24px;
}

.pgair-header.scrolled {
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	padding-top: 16px;
	padding-bottom: 16px;
}

/* Push main content below fixed header */
.pgair-main {
	padding-top: 100px;
}

@media (min-width: 1024px) {
	.pgair-main {
		padding-top: 120px;
	}
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.pgair-nav .wp-block-navigation__container {
	gap: 32px;
}

.pgair-nav .wp-block-navigation-item {
	font-size: 0.875rem;
}

.pgair-nav .wp-block-navigation__submenu-container {
	background: #fff;
	border: 1px solid #E5E5E5;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	padding: 8px 0;
	min-width: 240px;
	z-index: 100;
}

.pgair-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 8px 20px;
	font-size: 0.8125rem;
	color: #6E6D70;
}

.pgair-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
	color: #0078C0;
	background: #F5F5F5;
}

/* Nested submenus */
.pgair-nav .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container {
	top: -8px;
}

/* --------------------------------------------------------------------------
   Mobile Navigation Overlay
   -------------------------------------------------------------------------- */
.is-menu-open {
	padding: 24px 20px !important;
}

.is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: 48px !important;
	align-items: stretch !important;
	gap: 0 !important;
	text-align: left !important;
	overflow-x: hidden !important;
}

/* The ul.wp-block-navigation__container inside the overlay */
.is-menu-open .wp-block-navigation__container {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	gap: 8px !important;
	text-align: left !important;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
}

/* ALL top-level li items — card style */
.is-menu-open .wp-block-navigation__container > li {
	width: auto !important;
	border: 1px solid #E5E5E5 !important;
	border-radius: 6px !important;
	padding: 0 16px !important;
	position: relative !important;
	box-sizing: border-box !important;
	background: #fff !important;
	display: block !important;
}

/* Top-level link text for ALL items */
.is-menu-open .wp-block-navigation__container > li > .wp-block-navigation-item__content {
	display: block !important;
	padding: 16px 48px 16px 0 !important;
	font-size: 1.0625rem !important;
	font-weight: 700 !important;
	color: #0078C0 !important;
	text-align: left !important;
}

/* Hide WP default submenu toggles */
.is-menu-open .wp-block-navigation-submenu__toggle,
.is-menu-open .wp-block-navigation__submenu-icon {
	display: none !important;
}

/* First-level submenu containers */
.is-menu-open .wp-block-navigation__container > li > .wp-block-navigation__submenu-container {
	position: static !important;
	background: #FAFAFA !important;
	border: none !important;
	box-shadow: none !important;
	padding: 4px 0 12px 16px !important;
	min-width: 0 !important;
	width: auto !important;
	margin: 0 -16px !important;
	margin-left: 0 !important;
	border-top: 1px solid #E5E5E5 !important;
	border-left: 3px solid #A0CE66 !important;
	opacity: 1 !important;
	visibility: visible !important;
	height: auto !important;
}

/* Sub-items inside submenus — no card style */
.is-menu-open .wp-block-navigation__submenu-container li {
	border: none !important;
	border-radius: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	margin: 0 !important;
}

.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 10px 48px 10px 0 !important;
	font-size: 0.9375rem !important;
	font-weight: 400 !important;
	color: #6E6D70 !important;
	text-align: left !important;
}

.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
	color: #0078C0 !important;
	background: none !important;
}

/* Nested sub-submenu indentation */
.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container {
	position: static !important;
	padding-left: 16px !important;
	background: transparent !important;
	border-left: 2px solid #E5E5E5 !important;
	border-top: none !important;
	margin: 0 !important;
	opacity: 1 !important;
	visibility: visible !important;
	height: auto !important;
	box-shadow: none !important;
}

.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	font-size: 0.875rem !important;
	padding: 8px 48px 8px 0 !important;
	color: #939395 !important;
}

/* Close button — top right */
.is-menu-open .wp-block-navigation__responsive-container-close {
	position: absolute !important;
	top: 16px !important;
	right: 16px !important;
}

/* Mobile toggle chevron button */
.pgair-mobile-toggle {
	position: absolute;
	right: 0;
	top: 0;
	width: 48px;
	height: 54px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: none;
	color: #0078C0;
	cursor: pointer;
	transition: transform 0.2s;
	z-index: 1;
	outline: none;
	-webkit-tap-highlight-color: transparent;
	-webkit-appearance: none;
}

.pgair-mobile-toggle:focus,
.pgair-mobile-toggle:focus-visible,
.pgair-mobile-toggle:active {
	outline: none;
	box-shadow: none;
	background: none;
}

.pgair-mobile-toggle.is-open {
	transform: rotate(180deg);
}

/* --------------------------------------------------------------------------
   Logo
   -------------------------------------------------------------------------- */
.pgair-site-logo-link {
	text-decoration: none;
}

.pgair-site-logo {
	height: 100px;
	width: auto;
	display: block;
	transition: opacity 0.2s;
}

.pgair-site-logo-link:hover .pgair-site-logo {
	opacity: 0.85;
}

/* Footer logo (smaller) */
.pgair-footer-logo {
	height: 40px;
	width: auto;
	display: block;
	filter: brightness(0) invert(1);
	opacity: 0.9;
	transition: opacity 0.2s;
}

.pgair-footer-logo:hover {
	opacity: 1;
}

/* --------------------------------------------------------------------------
   Sharp Shadow (Cards)
   -------------------------------------------------------------------------- */
.sharp-shadow {
	box-shadow: 10px 10px 0px 0px rgba(0, 120, 192, 0.1);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sharp-shadow:hover {
	box-shadow: 15px 15px 0px 0px rgba(0, 120, 192, 0.15);
	transform: translateY(-8px);
}

/* Sharp shadow for hero image */
.sharp-shadow-img {
	box-shadow: 12px 12px 0px 0px rgba(160, 206, 102, 0.3);
}

/* --------------------------------------------------------------------------
   Glassmorphism Overlay (Hero Image)
   -------------------------------------------------------------------------- */
.pgair-hero-image-wrap {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
}

.pgair-hero-image-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.glassmorphism-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 24px;
	background: rgba(0, 0, 0, 0.45);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.glassmorphism-overlay p {
	color: #fff;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
	font-weight: 500;
	font-size: 0.875rem;
	margin: 0;
}

/* --------------------------------------------------------------------------
   Entrance Animation
   -------------------------------------------------------------------------- */
.animate-entrance {
	animation: pgairSlideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
	opacity: 0;
}

@keyframes pgairSlideUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* --------------------------------------------------------------------------
   Announcement Badge
   -------------------------------------------------------------------------- */
.pgair-badge {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	background: #F5F5F5;
	padding: 8px 16px;
	border-left: 4px solid #A0CE66;
}

.pgair-badge-dot {
	width: 8px;
	height: 8px;
	background: #A0CE66;
	border-radius: 50%;
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.5; }
}

.pgair-badge-text {
	font-size: 0.875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #0078C0;
}

/* --------------------------------------------------------------------------
   Program Cards
   -------------------------------------------------------------------------- */
.pgair-program-card {
	background: #fff;
	padding: 32px;
	border-left: 4px solid #0078C0;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 10px 10px 0px 0px rgba(0, 120, 192, 0.1);
	display: flex;
	flex-direction: column;
	height: 100%;
}

.wp-block-column > a:has(.pgair-program-card) {
	height: 100%;
}

.pgair-program-card:hover {
	box-shadow: 15px 15px 0px 0px rgba(0, 120, 192, 0.15);
	transform: translateY(-8px);
}

.pgair-program-card .pgair-icon {
	color: #0078C0;
	margin-bottom: 24px;
	transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pgair-program-card:hover .pgair-icon {
	transform: scale(1.15);
}

.pgair-program-card .pgair-card-arrow {
	opacity: 0;
	transition: opacity 0.3s;
	text-align: right;
	margin-top: auto;
}

.pgair-program-card:hover .pgair-card-arrow {
	opacity: 1;
}

/* --------------------------------------------------------------------------
   Incentive Cards
   -------------------------------------------------------------------------- */
.pgair-incentive-card {
	background: #F5F5F5;
	border-top: 4px solid #0078C0;
	padding: 32px;
	position: relative;
	overflow: hidden;
	cursor: pointer;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	box-shadow: 10px 10px 0px 0px rgba(0, 120, 192, 0.1);
	height: 100%;
}

.pgair-incentive-card:hover {
	transform: scale(1.05);
	box-shadow: 15px 15px 0px 0px rgba(0, 120, 192, 0.15);
}

.pgair-incentive-bg-number {
	position: absolute;
	top: 8px;
	left: 16px;
	font-size: 80px;
	font-weight: 700;
	color: rgba(0, 120, 192, 0.05);
	user-select: none;
	pointer-events: none;
	line-height: 1;
	transition: opacity 0.3s;
}

.pgair-incentive-card:hover .pgair-incentive-bg-number {
	opacity: 0.1;
}

.pgair-incentive-content {
	position: relative;
	z-index: 1;
	padding-top: 32px;
}

.pgair-incentive-amount {
	font-size: 2.25rem;
	font-weight: 700;
	color: #0078C0;
	margin-bottom: 16px;
	line-height: 1;
}

.pgair-incentive-card .pgair-card-arrow {
	position: absolute;
	bottom: 24px;
	right: 24px;
	opacity: 0;
	transition: opacity 0.3s;
	color: #0078C0;
}

.pgair-incentive-card:hover .pgair-card-arrow {
	opacity: 1;
}

/* --------------------------------------------------------------------------
   News Section
   -------------------------------------------------------------------------- */
.pgair-news-featured {
	background: #fff;
	padding: 32px;
	border-left: 4px solid #A0CE66;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	cursor: pointer;
	box-shadow: 10px 10px 0px 0px rgba(0, 120, 192, 0.1);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pgair-news-featured:hover {
	box-shadow: 15px 15px 0px 0px rgba(0, 120, 192, 0.15);
	transform: translateY(-8px);
}

.pgair-news-featured:hover h3,
.pgair-news-featured:hover .wp-block-post-title {
	color: #0078C0;
}

.pgair-news-item {
	background: #fff;
	padding: 24px;
	border: 1px solid #F5F5F5;
	transition: border-color 0.2s;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.pgair-news-item:hover {
	border-color: #0078C0;
}

.pgair-news-item:hover h4,
.pgair-news-item:hover .wp-block-post-title {
	color: #0078C0;
}

.pgair-news-item .pgair-card-arrow {
	color: #E5E5E5;
	transition: color 0.2s;
	flex-shrink: 0;
	margin-left: 16px;
}

.pgair-news-item:hover .pgair-card-arrow {
	color: #A0CE66;
}

/* --------------------------------------------------------------------------
   CTA Section
   -------------------------------------------------------------------------- */
.pgair-cta-section {
	position: relative;
	overflow: hidden;
}

.pgair-cta-section::before {
	content: '';
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(
		-12deg,
		transparent,
		transparent 20px,
		rgba(255, 255, 255, 0.03) 20px,
		rgba(255, 255, 255, 0.03) 52px
	);
	pointer-events: none;
}

.pgair-cta-button {
	padding: 40px;
	font-weight: 700;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px;
	text-align: center;
	cursor: pointer;
	transition: all 0.2s;
	text-decoration: none !important;
}

.pgair-cta-button-primary {
	background: #fff;
	color: #0078C0;
	box-shadow: 10px 10px 0px 0px rgba(0, 120, 192, 0.1);
}

.pgair-cta-button-primary:hover {
	background: #F5F5F5;
}

.pgair-cta-button-outline {
	border: 2px solid #fff;
	color: #fff;
	background: transparent;
}

.pgair-cta-button-outline:hover {
	background: rgba(255, 255, 255, 0.1);
}

.pgair-cta-button svg,
.pgair-cta-button img {
	transition: transform 0.2s;
}

.pgair-cta-button:hover svg,
.pgair-cta-button:hover img {
	transform: scale(1.1);
}

/* --------------------------------------------------------------------------
   Contact Info Items
   -------------------------------------------------------------------------- */
.pgair-contact-item {
	display: flex;
	align-items: flex-start;
	gap: 16px;
}

.pgair-contact-item .pgair-icon {
	color: #A0CE66;
	flex-shrink: 0;
	margin-top: 4px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.pgair-footer {
	border-top: 8px solid #A0CE66;
}

.pgair-footer a {
	transition: color 0.2s;
}

/* --------------------------------------------------------------------------
   Section Label / Eyebrow Text
   -------------------------------------------------------------------------- */
.pgair-eyebrow {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.3em;
	color: #A0CE66;
	margin-bottom: 16px;
}

/* --------------------------------------------------------------------------
   Heading with mixed weights
   -------------------------------------------------------------------------- */
.pgair-heading-accent {
	font-weight: 700;
	color: #0078C0;
}

.pgair-heading-accent-italic {
	font-weight: 700;
	font-style: italic;
	color: #0078C0;
}

/* --------------------------------------------------------------------------
   Date Label
   -------------------------------------------------------------------------- */
.pgair-date {
	font-size: 0.875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #939395;
	margin-bottom: 16px;
}

.pgair-date-small {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #939395;
	margin-bottom: 8px;
}

/* --------------------------------------------------------------------------
   Responsive Utilities
   -------------------------------------------------------------------------- */
@media (max-width: 781px) {
	.pgair-hide-mobile {
		display: none !important;
	}

	.pgair-page-hero {
		padding-top: var(--wp--preset--spacing--50) !important;
		padding-bottom: var(--wp--preset--spacing--50) !important;
	}

	.pgair-site-logo {
		height: 70px;
	}

	.pgair-program-card {
		padding: 20px;
		box-shadow: 4px 4px 0px 0px rgba(0, 120, 192, 0.1);
		flex-direction: column;
		gap: 8px;
		height: auto;
	}

	.pgair-program-card .pgair-icon {
		margin-bottom: 0;
	}

	.pgair-program-card .pgair-icon svg {
		width: 28px;
		height: 28px;
	}

	.pgair-program-card h3 {
		font-size: 1rem !important;
		margin-bottom: 0 !important;
	}

	.pgair-program-card p {
		font-size: 0.875rem;
		margin-bottom: 0 !important;
	}

	.pgair-program-card .pgair-card-arrow {
		opacity: 1;
		margin-top: 0;
	}

	.wp-block-column > a:has(.pgair-program-card) {
		height: auto;
		margin-bottom: 12px;
	}

	/* Incentive cards — compact on mobile */
	.pgair-incentive-card {
		padding: 20px;
		box-shadow: 4px 4px 0px 0px rgba(0, 120, 192, 0.1);
		height: auto;
		margin-bottom: 12px;
	}

	.pgair-incentive-bg-number {
		font-size: 50px;
	}

	.pgair-incentive-content {
		padding-top: 20px;
	}

	.pgair-incentive-amount {
		font-size: 1.75rem;
		margin-bottom: 8px;
	}

	.pgair-incentive-card .pgair-card-arrow {
		bottom: 16px;
		right: 16px;
		opacity: 1;
	}

	/* CTA buttons — smaller, left-aligned */
	.pgair-cta-button {
		padding: 20px 24px;
		flex-direction: row;
		align-items: center;
		gap: 12px;
		font-size: 0.9rem;
		min-width: 0 !important;
	}

	.pgair-cta-button svg {
		width: 24px !important;
		height: 24px !important;
		flex-shrink: 0;
	}

	div:has(> .pgair-cta-button) {
		justify-content: flex-start !important;
		gap: 12px !important;
	}
}

@media (min-width: 782px) {
	.pgair-hide-desktop {
		display: none !important;
	}
}

/* --------------------------------------------------------------------------
   SVG Icons inline
   -------------------------------------------------------------------------- */
.pgair-icon svg {
	width: 40px;
	height: 40px;
	stroke: currentColor;
	stroke-width: 1.5;
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.pgair-icon-sm svg {
	width: 24px;
	height: 24px;
}

.pgair-icon-lg svg {
	width: 32px;
	height: 32px;
}

/* --------------------------------------------------------------------------
   Arrow icon for links
   -------------------------------------------------------------------------- */
.pgair-arrow-icon {
	display: inline-flex;
	align-items: center;
}

.pgair-arrow-icon svg {
	width: 18px;
	height: 18px;
	stroke: currentColor;
	stroke-width: 2;
	fill: none;
}

/* --------------------------------------------------------------------------
   Query Loop Overrides for News
   -------------------------------------------------------------------------- */
.pgair-news-query-featured .wp-block-post-template {
	gap: 0;
}

.pgair-news-query-featured .wp-block-post {
	background: #fff;
	padding: 32px;
	border-left: 4px solid #A0CE66;
	box-shadow: 10px 10px 0px 0px rgba(0, 120, 192, 0.1);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pgair-news-query-featured .wp-block-post:hover {
	box-shadow: 15px 15px 0px 0px rgba(0, 120, 192, 0.15);
	transform: translateY(-8px);
}

.pgair-news-query-list .wp-block-post-template {
	gap: 16px;
}

.pgair-news-query-list .wp-block-post {
	background: #fff;
	padding: 24px;
	border: 1px solid #F5F5F5;
	transition: border-color 0.2s;
}

.pgair-news-query-list .wp-block-post:hover {
	border-color: #0078C0;
}

.pgair-news-query-list .wp-block-post:hover .wp-block-post-title a {
	color: #0078C0;
}

/* --------------------------------------------------------------------------
   Page Template Styles
   -------------------------------------------------------------------------- */
.pgair-page-content {
	max-width: 800px;
}

.pgair-page-content h1,
.pgair-page-content h2,
.pgair-page-content h3 {
	margin-top: 1.5em;
	margin-bottom: 0.5em;
}

.pgair-page-content p {
	margin-bottom: 1em;
}

/* --------------------------------------------------------------------------
   Breadcrumb
   -------------------------------------------------------------------------- */
.pgair-breadcrumb {
	font-size: 0.8125rem;
	color: #939395;
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.pgair-breadcrumb a {
	color: #0078C0;
	text-decoration: none;
	font-weight: 500;
}

.pgair-breadcrumb a:hover {
	color: #0274BD;
	text-decoration: underline;
}

.pgair-breadcrumb .pgair-breadcrumb-sep {
	color: #E5E5E5;
}

/* --------------------------------------------------------------------------
   Single Post Template
   -------------------------------------------------------------------------- */

/* Back link */
.pgair-back-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.875rem;
	font-weight: 500;
	color: #0078C0;
	text-decoration: none;
	transition: color 0.2s;
}

.pgair-back-link:hover {
	color: #0274BD;
}

/* Accent bar under title */
.pgair-post-hero-accent {
	width: 60px;
	height: 4px;
	background: #A0CE66;
	margin-top: 8px;
}

/* Post body content */
.pgair-post-content {
	font-size: 1.0625rem;
	line-height: 1.75;
	color: #0A0A0A;
}

.pgair-post-content p {
	margin-bottom: 1.5em;
	color: #6E6D70;
}

.pgair-post-content h2,
.pgair-post-content h3,
.pgair-post-content h4 {
	color: #0A0A0A;
	margin-top: 2em;
	margin-bottom: 0.75em;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.pgair-post-content h2 {
	font-size: 1.75rem;
	padding-bottom: 12px;
	border-bottom: 2px solid #E5E5E5;
}

.pgair-post-content h3 {
	font-size: 1.375rem;
	padding-left: 16px;
	border-left: 4px solid #0078C0;
}

.pgair-post-content ul,
.pgair-post-content ol {
	margin-bottom: 1.5em;
	padding-left: 1.5em;
	color: #6E6D70;
}

.pgair-post-content li {
	margin-bottom: 0.5em;
	line-height: 1.6;
}

.pgair-post-content li::marker {
	color: #A0CE66;
}

.pgair-post-content a:not(.wp-block-button__link) {
	color: #0078C0;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-color: rgba(0, 120, 192, 0.3);
	transition: text-decoration-color 0.2s;
}

.pgair-post-content a:not(.wp-block-button__link):hover {
	text-decoration-color: #0078C0;
}

.pgair-post-content blockquote {
	border-left: 4px solid #A0CE66;
	padding: 16px 24px;
	margin: 2em 0;
	background: #F5F5F5;
	font-style: italic;
	color: #6E6D70;
}

.pgair-post-content img {
	border-radius: 0;
	box-shadow: 10px 10px 0px 0px rgba(0, 120, 192, 0.1);
	margin: 2em 0;
	max-width: 100%;
	height: auto;
}

/* Post navigation */
.pgair-post-nav a {
	color: #0078C0;
	font-weight: 600;
	font-size: 0.9375rem;
	text-decoration: none;
	transition: color 0.2s;
}

.pgair-post-nav a:hover {
	color: #0274BD;
}

/* --------------------------------------------------------------------------
   Page Layout with Sidebar
   -------------------------------------------------------------------------- */
.pgair-page-layout {
	display: flex !important;
	gap: 48px;
	align-items: flex-start !important;
}

.pgair-page-content-col {
	flex: 1;
	min-width: 0;
}

/* --------------------------------------------------------------------------
   Sidebar
   -------------------------------------------------------------------------- */
.pgair-sidebar {
	width: 280px;
	flex-shrink: 0;
	background: #FAFAFA;
	padding: 24px;
	border-top: 3px solid #0078C0;
	position: sticky;
	top: 140px;
}

.pgair-sidebar-title {
	font-size: 1rem;
	font-weight: 700;
	color: #0A0A0A;
	margin: 0 0 16px 0;
	padding-bottom: 12px;
	border-bottom: 1px solid #E5E5E5;
}

.pgair-sidebar-nav {
	list-style: none;
	margin: 0;
	padding: 0;
}

.pgair-sidebar-nav li {
	margin: 0;
}

.pgair-sidebar-nav li a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 0;
	color: #6E6D70;
	text-decoration: none;
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.4;
	border-bottom: 1px solid #F0F0F0;
	transition: color 0.2s, padding-left 0.2s;
}

.pgair-sidebar-nav li a:hover {
	color: #0078C0;
	padding-left: 4px;
}

.pgair-sidebar-nav li a svg {
	flex-shrink: 0;
	width: 6px;
	height: 10px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.pgair-sidebar-nav li.active a {
	color: #0078C0;
	font-weight: 600;
}

.pgair-sidebar-nav li.active-parent > a {
	color: #0078C0;
}

.pgair-sidebar-nav li:last-child > a {
	border-bottom: none;
}

.pgair-sidebar-subnav {
	list-style: none;
	margin: 0;
	padding: 0 0 0 16px;
}

.pgair-sidebar-subnav li a {
	display: block;
	padding: 8px 0;
	color: #939395;
	text-decoration: none;
	font-size: 0.8125rem;
	border-bottom: 1px solid #F0F0F0;
	transition: color 0.2s, padding-left 0.2s;
}

.pgair-sidebar-subnav li a:hover {
	color: #0078C0;
	padding-left: 4px;
}

.pgair-sidebar-subnav li.active a {
	color: #0078C0;
	font-weight: 600;
}

.pgair-sidebar-subnav li:last-child a {
	border-bottom: none;
}

@media (max-width: 781px) {
	.pgair-page-layout {
		flex-direction: column-reverse !important;
	}

	.pgair-sidebar {
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
		position: static;
		margin-bottom: 24px;
	}
}

/* --------------------------------------------------------------------------
   Details / Accordion (FAQ)
   -------------------------------------------------------------------------- */
.pgair-post-content .wp-block-details {
	border: 1px solid var(--wp--preset--color--border, #E5E5E5);
	border-radius: 4px;
	margin-bottom: 8px;
	background: #fff;
	overflow: hidden;
}

.pgair-post-content .wp-block-details summary {
	padding: 16px 20px;
	font-weight: 700;
	font-size: 0.95rem;
	color: var(--wp--preset--color--dark, #0A0A0A);
	cursor: pointer;
	list-style: none;
	position: relative;
	padding-right: 44px;
	transition: background 0.15s ease;
}

.pgair-post-content .wp-block-details summary:hover {
	background: var(--wp--preset--color--background, #FAFAFA);
}

.pgair-post-content .wp-block-details summary::-webkit-details-marker {
	display: none;
}

.pgair-post-content .wp-block-details summary::after {
	content: "+";
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.25rem;
	font-weight: 300;
	color: var(--wp--preset--color--primary, #0078C0);
	transition: transform 0.2s ease;
}

.pgair-post-content .wp-block-details[open] summary::after {
	content: "−";
}

.pgair-post-content .wp-block-details[open] summary {
	border-bottom: 1px solid var(--wp--preset--color--border, #E5E5E5);
	background: var(--wp--preset--color--background, #FAFAFA);
}

.pgair-post-content .wp-block-details > *:not(summary) {
	padding-left: 20px;
	padding-right: 20px;
}

.pgair-post-content .wp-block-details > *:not(summary):first-of-type {
	margin-top: 16px;
}

.pgair-post-content .wp-block-details > *:not(summary):last-child {
	margin-bottom: 16px;
}

/* --------------------------------------------------------------------------
   Video Container (responsive 16:9 embeds)
   -------------------------------------------------------------------------- */
.video-container {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	height: 0;
	overflow: hidden;
	max-width: 100%;
	margin: 1rem 0 2rem;
}

.video-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* --------------------------------------------------------------------------
   Funder Logos Gallery
   -------------------------------------------------------------------------- */
.pgair-funder-logos {
	gap: 24px !important;
}

.pgair-funder-logos .wp-block-image {
	width: auto !important;
	flex-grow: 0 !important;
}

.pgair-funder-logos .wp-block-image img {
	max-height: 50px;
	width: auto;
	object-fit: contain;
	box-shadow: none !important;
	margin: 0 !important;
}
