/* ==========================================================================
   UMD Camps – Coach Survey page template
   ========================================================================== */

/* Hero ------------------------------------------------------------------ */

.survey-hero {
	position: relative;
	overflow: hidden;
	background: var(--umd-dark);
	color: #fff;
	padding: 4rem 0 7.5rem;
	text-align: center;
}

/* Gold / red diagonal accents, echoing the reference site's split hero. */
.survey-hero::before,
.survey-hero::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	width: 38%;
	pointer-events: none;
}

.survey-hero::before {
	left: -14%;
	background: var(--umd-accent);
	clip-path: polygon(0 0, 62% 0, 38% 100%, 0 100%);
	opacity: .95;
}

.survey-hero::after {
	right: -14%;
	background: var(--umd-primary);
	clip-path: polygon(62% 0, 100% 0, 100% 100%, 38% 100%);
	opacity: .95;
}

.survey-hero__eyebrow {
	margin: 0 0 .35rem;
	color: var(--umd-accent);
	font-size: .95rem;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
}

.survey-hero__title {
	margin: 0;
	font-size: clamp(2.25rem, 6vw, 3.75rem);
	font-weight: 800;
	line-height: 1.05;
	text-transform: uppercase;
}

.survey-hero__intro {
	max-width: 640px;
	margin: 1rem auto 0;
	color: rgba(255, 255, 255, .85);
	font-size: 1.05rem;
}

@media (max-width: 767.98px) {
	.survey-hero {
		padding: 2.5rem 0 6rem;
	}

	.survey-hero::before,
	.survey-hero::after {
		width: 30%;
		opacity: .35;
	}
}

/* Form card --------------------------------------------------------------- */
/* The form inside the card is styled by the UMD Camps Coach Survey plugin. */

.survey-body {
	background: var(--umd-light);
	padding-bottom: 4rem;
}

.survey-page-content,
.survey-card {
	position: relative;
	max-width: 1180px;
	margin: 0 auto;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, .12);
}

.survey-page-content {
	margin-top: -5rem;
	margin-bottom: 1.5rem;
	padding: 1.75rem 2.5rem;
}

.survey-page-content + .survey-card {
	margin-top: 0;
}

.survey-card {
	margin-top: -5rem;
	padding: 2.5rem 2.5rem 2rem;
	border-top: 6px solid var(--umd-primary);
}

.survey-card__notice {
	margin: 0;
	padding: 2rem 0;
	color: #666;
	text-align: center;
}

@media (max-width: 767.98px) {
	.survey-page-content,
	.survey-card {
		padding: 1.5rem 1.1rem;
		border-radius: 6px;
	}
}
