/* Study-program cards extend the shared Modules SGGW card recipe. */

.elementor-widget-sggw-study-programs {
	container-name: sggw-elementor-study-programs;
	container-type: inline-size;
	inline-size: 100%;
}

.sggw-elementor-study-programs .sggw-elementor-modules__list {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sggw-elementor-study-program__metadata {
	display: grid;
	gap: var(--wp--preset--spacing--10, 8px);
	list-style: none;
	margin: var(--wp--preset--spacing--20, 12px) 0 0;
	padding: 0;
}

.sggw-elementor-study-program__metadata-item {
	align-items: center;
	color: var(--sggw-text);
	display: flex;
	font-family: var(--wp--preset--font-family--body, inherit);
	font-size: var(--wp--preset--font-size--medium, 16px);
	font-style: normal;
	font-weight: var(--wp--custom--typography--font-weight--regular, 400);
	gap: var(--wp--preset--spacing--10, 8px);
	line-height: var(--wp--custom--typography--line-height--medium, 1.5);
	margin: 0;
	min-inline-size: 0;
	padding: 0;
}

.sggw-elementor-study-program__metadata-icon {
	align-items: center;
	block-size: var(--sggw-icon-size-medium, 24px);
	color: currentColor;
	display: inline-flex;
	flex: 0 0 var(--sggw-icon-size-medium, 24px);
	font-size: var(--sggw-icon-size-medium, 24px);
	inline-size: var(--sggw-icon-size-medium, 24px);
	justify-content: center;
	line-height: 1;
}

.sggw-elementor-study-program__metadata-icon :is(i, svg) {
	block-size: 1em;
	color: currentColor;
	display: block;
	fill: currentColor;
	font-size: inherit;
	inline-size: 1em;
}

@media (forced-colors: active) {
	.sggw-elementor-study-program__metadata-item,
	.sggw-elementor-study-program__metadata-icon {
		color: CanvasText;
		forced-color-adjust: none;
	}
}

@container sggw-elementor-study-programs (max-width: 655px) {
	.sggw-elementor-study-programs .sggw-elementor-modules__list {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 767px) {
	.sggw-elementor-study-programs .sggw-elementor-modules__list {
		grid-template-columns: minmax(0, 1fr);
	}
}
