/* ==========================================================================
   ERG Theme — Schools Landing Page Styles
   Hidden landing page for school/educator outreach
   ========================================================================== */

/* ---------- Hero ---------- */
.erg-schools-hero {
	position: relative;
	overflow: hidden;
}

.erg-schools-hero::before {
	content: "";
	position: absolute;
	top: -40%;
	right: -15%;
	width: 50%;
	height: 180%;
	background: radial-gradient(ellipse, rgba(200, 85, 61, 0.2) 0%, transparent 70%);
	pointer-events: none;
}

.erg-schools-hero-image img {
	box-shadow: var(--erg-shadow-elevated);
	transition: var(--erg-transition-slow);
}

.erg-schools-hero-image:hover img {
	transform: scale(1.02) rotate(-1deg);
}

/* ---------- Grade Level Badges ---------- */
.erg-schools-badge-elementary {
	background-color: var(--wp--preset--color--sage) !important;
	color: #fff !important;
}

.erg-schools-badge-middle {
	background-color: var(--wp--preset--color--terracotta) !important;
	color: #fff !important;
}

.erg-schools-badge-high {
	background-color: var(--wp--preset--color--plum) !important;
	color: #fff !important;
}

.erg-schools-badge-bonus {
	background-color: var(--wp--preset--color--cream-dark) !important;
	color: var(--wp--preset--color--plum) !important;
}

/* ---------- Game Cards ---------- */
.erg-schools-game-card {
	transition: var(--erg-transition);
}

.erg-schools-game-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--erg-shadow-elevated);
}

/* ---------- Benefit Cards ---------- */
.erg-schools-benefit-card {
	border-left: 4px solid var(--wp--preset--color--sage);
	transition: var(--erg-transition);
}

.erg-schools-benefit-card:hover {
	border-left-color: var(--wp--preset--color--terracotta);
}

/* ---------- Use Case Cards ---------- */
.erg-schools-use-case {
	transition: var(--erg-transition);
}

.erg-schools-use-case:hover {
	background-color: var(--wp--preset--color--cream-dark) !important;
}

/* ---------- Testimonial Cards ---------- */
.erg-schools-testimonial {
	position: relative;
}

.erg-schools-testimonial::before {
	content: "\201C";
	position: absolute;
	top: -8px;
	left: 16px;
	font-size: 4rem;
	line-height: 1;
	color: var(--wp--preset--color--sage-light);
	font-family: var(--wp--preset--font-family--heading);
	pointer-events: none;
}

/* ---------- Pricing Card ---------- */
.erg-schools-pricing-card {
	position: relative;
	overflow: hidden;
}

.erg-schools-pricing-card::before {
	content: "";
	position: absolute;
	top: -50%;
	right: -30%;
	width: 60%;
	height: 200%;
	background: radial-gradient(ellipse, rgba(200, 85, 61, 0.15) 0%, transparent 70%);
	pointer-events: none;
}

.erg-schools-discount-box {
	border: 2px dashed rgba(255, 255, 255, 0.3);
}

/* ---------- Checklist ---------- */
.erg-schools-checklist li {
	list-style: none;
	padding-left: 0;
}

.erg-schools-checklist li::before {
	content: "\2713";
	color: var(--wp--preset--color--sage-light);
	font-weight: 700;
	margin-right: 8px;
}

/* ---------- FAQ ---------- */
.erg-schools-faq details {
	border-bottom: 1px solid var(--wp--preset--color--border);
	padding: var(--wp--preset--spacing--30) 0;
}

.erg-schools-faq details:first-child {
	border-top: 1px solid var(--wp--preset--color--border);
}

.erg-schools-faq summary {
	cursor: pointer;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
	font-size: 1rem;
	color: var(--wp--preset--color--plum);
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
}

.erg-schools-faq summary::-webkit-details-marker {
	display: none;
}

.erg-schools-faq summary::after {
	content: "+";
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--wp--preset--color--terracotta);
	flex-shrink: 0;
	transition: var(--erg-transition);
}

.erg-schools-faq details[open] summary::after {
	content: "\2212";
}

.erg-schools-faq details .faq-answer {
	padding-top: var(--wp--preset--spacing--20);
	color: var(--wp--preset--color--text-secondary);
	font-size: 0.9375rem;
	line-height: 1.7;
}

/* ---------- CTA Button Pulse ---------- */
.erg-schools-cta-btn {
	transition: var(--erg-transition);
	display: inline-block;
}

.erg-schools-cta-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(200, 85, 61, 0.35);
}

/* ---------- Strikethrough Price ---------- */
.erg-schools-price-struck {
	text-decoration: line-through;
	opacity: 0.6;
}

/* ---------- Responsive ---------- */
@media (max-width: 781px) {
	.erg-schools-hero .wp-block-columns {
		flex-direction: column-reverse;
	}

	.erg-schools-hero-image {
		text-align: center;
		margin-bottom: var(--wp--preset--spacing--40);
	}

	.erg-schools-pricing-card {
		margin-left: var(--wp--preset--spacing--20);
		margin-right: var(--wp--preset--spacing--20);
	}
}
