/* ==========================================================================
   School Teaser Block on Homepage (dev-theme)
   ========================================================================== */

.school-teaser-block {
	padding: clamp(3rem, 80 / 1450 * 100vw, 5.5rem) 0;
	position: relative;
	z-index: 2;
}

.school-teaser-card {
	position: relative;
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 2.5rem;
	align-items: center;
	padding: clamp(2rem, 48 / 1450 * 100vw, 3.25rem);
	background: rgba(255, 255, 255, 0.035);
	backdrop-filter: blur(22px);
	-webkit-backdrop-filter: blur(22px);
	border-radius: 1.5rem;
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
	overflow: hidden;
}

.school-teaser-card::before {
	content: "";
	position: absolute;
	top: -50%;
	right: -20%;
	width: 500px;
	height: 500px;
	background: radial-gradient(circle, rgba(252, 216, 42, 0.08) 0%, rgba(252, 216, 42, 0) 70%);
	pointer-events: none;
	z-index: 0;
}

.school-teaser-card__content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

/* Badge */
.school-teaser-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	width: fit-content;
	padding: 0.375rem 0.875rem;
	border-radius: 9999px;
	background: rgba(252, 216, 42, 0.1);
	border: 1px solid rgba(252, 216, 42, 0.3);
	color: #fcd82a;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-family: "IBM Plex Sans", sans-serif;
}

.school-teaser-badge__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #fcd82a;
	box-shadow: 0 0 10px #fcd82a;
	animation: schoolPulse 2s infinite ease-in-out;
}

@keyframes schoolPulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.4; transform: scale(0.85); }
}

/* Title & Description */
.school-teaser-title {
	font-size: clamp(1.75rem, 36 / 1450 * 100vw, 2.5rem);
	font-weight: 700;
	line-height: 1.15;
	text-transform: uppercase;
	color: #ffffff;
	margin: 0;
}

.school-teaser-title .highlight-ye {
	background: linear-gradient(90.81deg, #fcd82a 0.59%, #f8a12f 99.21%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	color: transparent;
}

.school-teaser-desc {
	font-size: clamp(0.9375rem, 16 / 1450 * 100vw, 1.0625rem);
	line-height: 1.6;
	color: #b8bdc8;
	margin: 0;
}

/* Pills Grid */
.school-teaser-features {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.625rem 0.875rem;
	margin-top: 0.25rem;
}

.school-teaser-pill {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 0.75rem;
	border-radius: 0.625rem;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.06);
	font-size: 0.875rem;
	color: #e2e5eb;
	font-family: "IBM Plex Sans", sans-serif;
}

.school-teaser-pill .pill-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #fcd82a;
	box-shadow: 0 0 8px rgba(252, 216, 42, 0.7);
	flex-shrink: 0;
}

/* Action Button */
.school-teaser-action {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 1.25rem;
	margin-top: 0.5rem;
}

.btn--school-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.625rem;
	background: #fcd82a;
	color: #050835;
	font-weight: 700;
	font-size: 0.9375rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	padding: 0.875rem 1.625rem;
	border-radius: 0.75rem;
	transition: all 0.25s ease;
	box-shadow: 0 4px 20px rgba(252, 216, 42, 0.3);
	text-decoration: none;
}

.btn--school-cta:hover {
	background: #ffe359;
	transform: translateY(-2px);
	box-shadow: 0 6px 24px rgba(252, 216, 42, 0.45);
	color: #050835;
}

.btn--school-cta svg {
	transition: transform 0.25s ease;
}

.btn--school-cta:hover svg {
	transform: translateX(4px);
}

.school-teaser-note {
	font-size: 0.8125rem;
	color: #8c93a4;
}

/* Media / Image Frame */
.school-teaser-card__media {
	position: relative;
	z-index: 2;
}

.school-teaser-media-frame {
	position: relative;
	border-radius: 1.125rem;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
	aspect-ratio: 16 / 11;
}

.school-teaser-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.school-teaser-card:hover .school-teaser-img {
	transform: scale(1.03);
}

.school-teaser-media-hud {
	position: absolute;
	bottom: 0.875rem;
	left: 0.875rem;
	right: 0.875rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.375rem 0.75rem;
	border-radius: 0.5rem;
	background: rgba(5, 8, 53, 0.85);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(252, 216, 42, 0.25);
	font-family: "IBM Plex Sans", monospace, sans-serif;
	font-size: 0.6875rem;
	font-weight: 700;
	color: #e1e5ea;
	letter-spacing: 0.05em;
}

.hud-item--live {
	color: #20f038;
}

/* Responsive */
@media (max-width: 980px) {
	.school-teaser-card {
		grid-template-columns: 1fr;
		gap: 2rem;
		padding: 2rem 1.5rem;
	}

	.school-teaser-features {
		grid-template-columns: 1fr 1fr;
	}

	.school-teaser-media-frame {
		max-height: 320px;
	}
}

@media (max-width: 600px) {
	.school-teaser-features {
		grid-template-columns: 1fr;
	}

	.school-teaser-action {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.75rem;
	}

	.btn--school-cta {
		width: 100%;
		justify-content: center;
	}
}
