/**
 * 推广合作页 (/cooperation/)
 */

.page-template-page-cooperation-php .top-banner {
	display: none;
}

.page-template-page-cooperation-php .ed-coop-hero {
	position: relative;
	min-height: 560px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	padding: 7rem 1rem 4rem;
	margin-top: 0;
}

@media (min-width: 768px) {
	.page-template-page-cooperation-php .ed-coop-hero {
		min-height: 620px;
		padding-top: 8rem;
		padding-bottom: 5rem;
	}
}

.page-template-page-cooperation-php .ed-coop-hero .ed-dyy-hero__canvas-wrap {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
}

.page-template-page-cooperation-php #ed-coop-hero-canvas {
	display: block;
	width: 100%;
	height: 100%;
	vertical-align: top;
}

.page-template-page-cooperation-php .ed-coop-hero .ed-dyy-hero__scrim {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(
		180deg,
		rgba(14, 0, 24, 0.72) 0%,
		rgba(34, 0, 65, 0.35) 42%,
		rgba(14, 0, 24, 0.55) 100%
	);
}

.page-template-page-cooperation-php .ed-coop-hero .ed-dyy-hero__inner {
	position: relative;
	z-index: 2;
	text-align: center;
	max-width: 56rem;
	margin: 0 auto;
	padding: 0 1rem;
}

.page-template-page-cooperation-php .ed-coop-hero .ed-dyy-hero__badge {
	display: inline-block;
	margin-bottom: 1rem;
	padding: 0.375rem 1rem;
	border-radius: 999px;
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: #ede9fe;
	background: rgba(130, 0, 250, 0.25);
	border: 1px solid rgba(180, 94, 255, 0.5);
	box-shadow: 0 10px 15px -3px rgba(130, 0, 250, 0.2);
}

.page-template-page-cooperation-php .ed-coop-hero .ed-dyy-hero__title {
	margin: 0 0 1.5rem;
	font-size: 2.25rem;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.02em;
	color: #fff;
	text-shadow: 0 4px 24px rgba(14, 0, 24, 0.45);
}

@media (min-width: 768px) {
	.page-template-page-cooperation-php .ed-coop-hero .ed-dyy-hero__title {
		font-size: 3rem;
	}
}

@media (min-width: 1024px) {
	.page-template-page-cooperation-php .ed-coop-hero .ed-dyy-hero__title {
		font-size: 3.75rem;
	}
}

.page-template-page-cooperation-php .ed-coop-hero .ed-dyy-hero__lead {
	margin: 0 auto;
	font-size: 1.125rem;
	line-height: 1.625;
	color: rgba(237, 233, 254, 0.95);
	max-width: 48rem;
	text-shadow: 0 2px 12px rgba(14, 0, 24, 0.35);
}

@media (min-width: 768px) {
	.page-template-page-cooperation-php .ed-coop-hero .ed-dyy-hero__lead {
		font-size: 1.25rem;
	}
}

@media (min-width: 1024px) {
	.page-template-page-cooperation-php .ed-coop-hero .ed-dyy-hero__lead {
		font-size: 1.5rem;
	}
}

.page-template-page-cooperation-php #main-content.main-content.ed-coop-page {
	padding: 2.5rem 0 3rem;
	max-width: 100%;
	box-sizing: border-box;
}

.ed-coop-page__inner {
	max-width: 1140px;
	margin: 0 auto;
}

.ed-coop-intro {
	margin: 0 0 2.5rem;
	text-align: center;
}

.ed-coop-intro__title {
	margin: 0 0 1rem;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.375;
	color: #1a0a2e;
}

.ed-coop-intro__lead {
	margin: 0 auto;
	max-width: 52rem;
	font-size: 1.05rem;
	line-height: 1.75;
	color: #4a3d5c;
}

.ed-coop-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
	margin-bottom: 2.5rem;
}

.ed-coop-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 1.75rem 1.25rem;
	text-align: center;
	background: #fff;
	border: 1px solid rgba(130, 0, 250, 0.12);
	border-radius: 16px;
	box-shadow: 0 12px 40px rgba(14, 0, 24, 0.06);
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.ed-coop-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 48px rgba(130, 0, 250, 0.12);
}

.ed-coop-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 8rem;
	height: 8rem;
	margin-bottom: 1rem;
	font-size: 1.75rem;
	color: #fff;
	background: linear-gradient(135deg, #8200fa 0%, #f024f6 100%);
	border-radius: 50%;
	box-shadow: 0 8px 24px rgba(176, 45, 233, 0.35);
}

.ed-coop-card__title {
    margin: 0 0 20px;
    font-size: 25px;
    font-weight: 700;
    color: #1a0a2e;
}
}

.ed-coop-card__desc {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.7;
	color: #4a3d5c;
	text-align: left;
}

.ed-coop-form__iframe {
	display: block;
	width: 100%;
	min-height: 880px;
	border: 0;
	border-radius: 12px;
	background: #faf8fc;
}

@media (max-width: 991px) {
	.ed-coop-cards {
		grid-template-columns: 1fr;
		max-width: 28rem;
		margin-left: auto;
		margin-right: auto;
	}
}

@media (max-width: 767px) {
	.page-template-page-cooperation-php .ed-coop-hero-banner {
		min-height: 260px;
	}

	.page-template-page-cooperation-php .top-info h1 {
		font-size: 2rem;
		padding: 1rem 1.25rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ed-coop-card {
		transition: none;
	}

	.ed-coop-card:hover {
		transform: none;
	}
}
