@import url("./growth-diagnostic.css");

/*
 * Education page alignment with the Growth Diagnostic page system.
 * Keep this file limited to content-specific exceptions; the visual language,
 * responsive layout and interaction states come from the reference page.
 */

.gwo-education-capability-fallback-details {
	border-block-start: 1px solid rgb(35 31 32 / 10%);
	margin-block-start: var(--gwo-space-4);
	padding-block-start: var(--gwo-space-3);
}

.gwo-education-capability-fallback-details summary {
	align-items: center;
	border-radius: var(--gwo-radius-sm);
	color: var(--gwo-green);
	cursor: pointer;
	display: inline-flex;
	font-family: var(--font-heading);
	font-size: var(--wp--preset--font-size--body-sm);
	font-weight: var(--font-weight-semibold);
	min-block-size: 44px;
	padding-inline: var(--gwo-space-2);
	text-underline-offset: 0.2em;
}

.gwo-education-capability-fallback-details summary:hover {
	text-decoration: underline;
}

.gwo-education-capability-fallback-details summary:focus-visible {
	box-shadow: 0 0 0 6px var(--gwo-yellow);
	outline: 3px solid var(--gwo-black);
	outline-offset: 0;
}

.gwo-education-capability-fallback-details[open] summary {
	margin-block-end: var(--gwo-space-3);
}

.gwo-education-page .gwo-gd-review__fallback .gwo-education-capability-fallback-details .gwo-capability-detail {
	display: block;
}

.gwo-education-page > .gwo-capability-dialog:not([open]) {
	display: none;
}

@media (min-width: 1024px) {
	.gwo-education-process .gwo-gd-flow__list {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}
