/**
 * Elite Rigging — site styles (replaces WPCode CSS + inline course styles).
 */

/* Shadow utility (from WPCode "Jp Shadows") */
.jp-shadow-1 {
	box-shadow: rgba(188, 207, 219, 0.35) 0 5px 23px 0;
}

/* Migrated Getwid / Spectra sections */
.er-migrated-getwid-section,
.er-migrated-info-box,
.er-migrated-stackable-columns,
.er-migrated-stackable-column,
.er-migrated-greenshift-container,
.er-migrated-greenshift-row,
.er-migrated-greenshift-column {
	position: relative;
}

/* Migrated Stackable columns: keep row layout without plugin CSS */
.er-migrated-stackable-columns .stk-row,
.wp-block-columns.er-migrated-stackable-columns .stk-row {
	display: flex;
	flex-wrap: wrap;
	gap: var(--theme-content-spacing, 1.5rem);
}

.er-migrated-stackable-column.stk-block-column,
.wp-block-column.er-migrated-stackable-column {
	flex: 1 1 280px;
	min-width: 0;
}

.er-migrated-greenshift-iconlist ul,
.er-migrated-greenshift-iconbox {
	list-style: none;
	padding: 0;
}

/* Lean homepage hero */
.er-hero-cover {
	min-height: 70vh;
}

/* Hero copy column only — not page body width */
.er-hero-cover .wp-block-cover__inner-container {
	max-width: 900px;
}

.er-hero-cover .wp-block-button__link {
	background-color: var(--theme-palette-color-4, #020b25);
	border-radius: 0;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 1rem 2rem;
}

.er-hero-cover .wp-block-button__link:hover {
	background-color: var(--theme-palette-color-2, #00b4fc);
}

/* Marquee (replaces marquee-block plugin if needed) */
.er-marquee {
	overflow: hidden;
	white-space: nowrap;
}

.er-marquee__track {
	display: inline-block;
	animation: er-marquee 30s linear infinite;
}

@keyframes er-marquee {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

/* Hide Blocksy default page hero when we render er-v0-hero in content */
.page-about-us .hero-section {
	display: none;
}

/* v0 design system (homepage + about) — maps to Blocksy palette */
.er-v0-section {
	max-width: var(--theme-normal-container-max-width, 1366px);
	margin-inline: auto;
}

/* ─── Legacy cover-block hero (used by interior page heroes) ────────────── */
.er-v0-hero {
	min-height: clamp(360px, 48vh, 520px);
	position: relative;
}

.er-v0-hero .wp-block-cover__background {
	background: linear-gradient(
		90deg,
		rgba(2, 11, 37, 0.95) 0%,
		rgba(2, 11, 37, 0.82) 45%,
		rgba(2, 11, 37, 0.6) 100%
	) !important;
}

.er-v0-hero--page .wp-block-cover__inner-container {
	text-align: center;
}



.er-v0-hero__kicker {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--theme-palette-color-1, #17f9ff);
	margin: 0 0 1rem;
}

.er-v0-hero__title {
	font-size: clamp(2.25rem, 5vw, 3.75rem);
	font-weight: 800;
	line-height: 1.1;
	color: #f8f9fb;
	margin: 0 0 1.25rem;
	max-width: 42rem;
}

.er-v0-hero--page .er-v0-hero__title {
	max-width: none;
	margin-inline: auto;
}

.er-v0-hero__accent {
	color: var(--theme-palette-color-1, #17f9ff);
}

.er-v0-hero__lead {
	font-size: clamp(1.05rem, 2vw, 1.25rem);
	line-height: 1.65;
	color: rgba(248, 249, 251, 0.88);
	max-width: 36rem;
	margin: 0 0 2rem;
}

.er-v0-hero__actions {
	gap: 1rem;
	margin-bottom: 2.5rem;
}

.er-v0-hero__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	margin-top: 0.5rem;
}

.er-v0-hero__badges p {
	margin: 0;
	color: #f8f9fb;
	font-size: 0.95rem;
	line-height: 1.4;
}

.er-v0-hero__badge-sub {
	color: rgba(248, 249, 251, 0.65);
	font-size: 0.85rem;
	font-weight: 400;
}

.er-v0-btn-primary .wp-block-button__link {
	background: var(--theme-palette-color-1, #17f9ff) !important;
	color: var(--theme-palette-color-4, #020b25) !important;
	font-weight: 800;
	padding: 1rem 2rem;
	border-radius: 0;
}

.er-v0-btn-primary .wp-block-button__link:hover {
	background: var(--theme-palette-color-2, #00b4fc) !important;
	color: #fff !important;
}

.er-v0-btn-outline .wp-block-button__link {
	background: transparent !important;
	color: #f8f9fb !important;
	border: 2px solid rgba(248, 249, 251, 0.35);
	padding: 1rem 2rem;
	border-radius: 0;
}

.er-v0-btn-outline .wp-block-button__link:hover {
	background: rgba(248, 249, 251, 0.1) !important;
	border-color: #f8f9fb;
}

.er-v0-section-head {
	text-align: center;
	margin-bottom: 3rem;
}

.er-v0-section-head__accent {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin-bottom: 1rem;
}

.er-v0-section-head__line {
	width: 2rem;
	height: 2px;
	background: var(--theme-palette-color-1, #17f9ff);
}

.er-v0-section-head__mark {
	color: var(--theme-palette-color-1, #17f9ff);
	font-weight: 800;
	font-size: 1rem;
	line-height: 1;
}

.er-v0-section-head__title {
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	font-weight: 800;
	color: var(--theme-palette-color-4, #020b25);
	margin: 0 0 1rem;
}

.er-v0-section-head__subtitle {
	font-size: 1.125rem;
	line-height: 1.65;
	color: var(--theme-palette-color-3, #415161);
	max-width: 40rem;
	margin: 0 auto;
}

.er-v0-features {
	gap: 2rem;
	align-items: stretch;
}

.er-v0-feature-card {
	background: #fff;
	border: 0;
	border-radius: 1rem;
	padding: 3rem;
	box-shadow: 0 8px 32px rgba(2, 11, 37, 0.04);
	transition: box-shadow 0.25s ease;
	height: 100%;
}

.er-v0-feature-card:hover {
	box-shadow: 0 16px 48px rgba(2, 11, 37, 0.08);
}

.er-v0-feature-card__icon {
	width: 4rem;
	height: 4rem;
	border-radius: 1rem;
	background: rgba(23, 249, 255, 0.12);
	margin-bottom: 2rem;
	position: relative;
}

.er-v0-feature-card__icon--award::after {
	content: "★";
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.35rem;
	color: var(--theme-palette-color-2, #00b4fc);
}

.er-v0-feature-card__icon--shield::after {
	content: "◆";
	font-size: 1.25rem;
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--theme-palette-color-2, #00b4fc);
}

.er-v0-feature-card__icon--target::after {
	content: "◎";
	font-size: 1.35rem;
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--theme-palette-color-2, #00b4fc);
}

.er-v0-feature-card__title {
	font-size: 1.25rem;
	margin: 0 0 1rem;
	color: var(--theme-palette-color-4, #020b25);
}

.er-v0-feature-card p {
	margin: 0;
	line-height: 1.65;
	color: var(--theme-palette-color-3, #415161);
	font-size: 0.98rem;
}

.er-v0-testimonials-grid {
	gap: 2rem;
}

.er-v0-testimonial {
	background: #fff;
	border: 1px solid var(--theme-palette-color-6, #edeff2);
	border-radius: 1rem;
	padding: 2rem;
	box-shadow: 0 4px 20px rgba(2, 11, 37, 0.05);
	position: relative;
}

.er-v0-testimonial__quote {
	font-size: 3rem;
	line-height: 1;
	color: var(--theme-palette-color-1, #17f9ff);
	opacity: 0.35;
	margin-bottom: 0.5rem;
}

.er-v0-testimonial__stars {
	margin-bottom: 1rem;
}

.er-v0-star {
	color: var(--theme-palette-color-1, #17f9ff);
	font-size: 1rem;
}

.er-v0-testimonial__text {
	font-size: 1rem;
	line-height: 1.65;
	color: var(--theme-palette-color-3, #415161);
	margin-bottom: 1.25rem !important;
}

.er-v0-testimonial__meta {
	font-size: 0.9rem;
	color: var(--theme-palette-color-4, #020b25);
	margin: 0 !important;
}

.er-v0-team-grid {
	gap: 2rem;
	align-items: stretch;
}

.er-v0-team-card {
	background: #fff;
	border: 0;
	border-radius: 1.5rem;
	overflow: hidden;
	box-shadow: 0 8px 32px rgba(2, 11, 37, 0.04);
	transition: box-shadow 0.25s ease;
	height: 100%;
	padding-bottom: 2rem;
}

.er-v0-team-card:hover {
	box-shadow: 0 16px 48px rgba(2, 11, 37, 0.08);
}

.er-v0-team-card__media {
	margin: 0;
}

.er-v0-team-card__photo img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
}

.er-v0-team-card__name {
	font-size: 1.35rem;
	margin: 2rem 2rem 0.5rem;
	padding: 0;
	color: var(--theme-palette-color-4, #020b25);
}

.er-v0-team-card__role {
	margin: 0 2rem 1.5rem;
	padding: 0;
	font-weight: 600;
	color: var(--theme-palette-color-2, #00b4fc);
}

.er-v0-team-card__creds {
	margin: 0 2rem 1.5rem;
	padding-left: 1.5rem;
}

.er-v0-team-card__creds li {
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--theme-palette-color-3, #415161);
	margin-bottom: 0.5rem;
}

.er-v0-team-card__bio {
	margin: 0 2rem 2rem !important;
	font-size: 0.9rem;
	line-height: 1.6;
	color: var(--theme-palette-color-3, #415161);
}

.er-v0-cta-band .wp-block-heading {
	margin-bottom: 1rem;
}

@media (max-width: 781px) {
	.er-v0-features.wp-block-columns,
	.er-v0-testimonials-grid.wp-block-columns,
	.er-v0-team-grid.wp-block-columns {
		flex-direction: column;
	}

	.er-v0-features .wp-block-column,
	.er-v0-testimonials-grid .wp-block-column,
	.er-v0-team-grid .wp-block-column {
		flex-basis: 100% !important;
	}

	.er-v0-hero__title br {
		display: none;
	}
}
