/* CTET landing page (D-050): three pack columns (Paper I, Paper II with a
   subject switch, Paper I + II) on top of landing-vp.css and plans.css. Mobile first. */

.exw-ctet-plans {
	gap: 1.6rem;
}

.exw-ctet-plan {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.exw-ctet-plan > .exw-plan,
.exw-ctet-stream > .exw-plan {
	flex: 1;
}

.exw-ctet-plan__for {
	margin: 0 0 1.1rem;
	color: #312E81;
	font-size: 0.8125rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-align: center;
	text-transform: uppercase;
}

/* Paper II: Maths & Science | Social Studies (radio buttons, no script). */
.exw-ctet-streams {
	display: flex;
	flex: 1;
	flex-wrap: wrap;
	gap: 0;
}

.exw-ctet-streams > input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.exw-ctet-streams > label {
	flex: 1 1 50%;
	margin-bottom: 1.2rem;
	padding: 0.55rem 0.4rem;
	border: 1px solid #C7C2F0;
	background: #fff;
	color: #312E81;
	font-size: 0.875rem;
	font-weight: 700;
	text-align: center;
	cursor: pointer;
}

.exw-ctet-streams > label:first-of-type {
	border-radius: 999px 0 0 999px;
}

.exw-ctet-streams > label:last-of-type {
	border-left: 0;
	border-radius: 0 999px 999px 0;
}

.exw-ctet-streams > input:checked + label {
	border-color: #4338CA;
	background: #4338CA;
	color: #fff;
}

.exw-ctet-streams > input:focus-visible + label {
	outline: 3px solid #FBBF24;
	outline-offset: 2px;
}

.exw-ctet-stream {
	display: none;
	flex: 1 1 100%;
	flex-direction: column;
}

#exw-ctet-stream-ms:checked ~ .exw-ctet-stream--ms,
#exw-ctet-stream-ss:checked ~ .exw-ctet-stream--ss {
	display: flex;
}

/* A pack that is not on sale yet. */
.exw-plan--soon {
	border-style: dashed;
	background: #FAFAFF;
	box-shadow: none;
}

.exw-plan__badge--soon {
	background: #4B5563;
}

.exw-plan__soon-note {
	margin: auto 0 0;
	padding-top: 0.9rem;
	border-top: 1px solid #E0DDF7;
	color: #4B5563;
	font-size: 0.875rem;
}

.exw-lp-pattern__paper {
	margin: 1.6rem 0 0.6rem;
	color: #312E81;
	font-size: 1.05rem;
}

@media (min-width: 900px) {
	.exw-ctet-plans {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	/* Line the side cards up with the Paper II card under its subject switch. */
	.exw-ctet-plan:not(.exw-ctet-plan--streams) > .exw-plan {
		margin-top: 3.45rem;
	}
}
