.natech-formations-catalogue {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
	gap: 28px;
	width: 100%;
	align-items: start;
	box-sizing: border-box;
}

.natech-formations-catalogue *,
.natech-formations-catalogue *::before,
.natech-formations-catalogue *::after {
	box-sizing: border-box;
}

.natech-formations-sidebar {
	position: sticky;
	top: 24px;
	width: 100%;
	min-width: 0;
	padding: 18px;
	border: 1px solid #d9e0e6;
	border-radius: 8px;
	background: #fff;
}

.natech-formations-main {
	width: 100%;
	min-width: 0;
}

.natech-formations-filter + .natech-formations-filter {
	margin-top: 22px;
}

.natech-formations-filter label,
.natech-formations-filter-title {
	display: block;
	margin-bottom: 8px;
	font-weight: 700;
	color: #17212b;
}

.natech-formations-search {
	width: 100%;
	min-height: 44px;
	padding: 10px 12px;
	border: 1px solid #b9c4ce;
	border-radius: 6px;
	background: #fff;
	color: #17212b;
}

.natech-formations-types {
	display: grid;
	gap: 10px;
}

.natech-formations-types label {
	display: grid;
	grid-template-columns: 18px minmax(0, 1fr);
	gap: 9px;
	align-items: start;
	margin: 0;
	font-weight: 500;
	line-height: 1.35;
	cursor: pointer;
}

.natech-formations-types input {
	margin-top: 2px;
}

.natech-formations-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
	width: 100%;
}

.natech-formation-card {
	display: block;
	width: 100%;
	min-width: 0;
	height: 100%;
	border: 1px solid #d9e0e6;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	color: #17212b;
	text-decoration: none;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.natech-formation-card:hover,
.natech-formation-card:focus {
	transform: translateY(-2px);
	border-color: #96a8b8;
	box-shadow: 0 10px 24px rgba(24, 39, 54, .12);
	color: #17212b;
	text-decoration: none;
}

.natech-formation-media {
	position: relative;
	aspect-ratio: 16 / 9;
	background: #edf2f6;
	overflow: hidden;
}

.natech-formation-media img,
.natech-formation-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.natech-formation-placeholder {
	background: linear-gradient(135deg, #e5eef4, #c9d6df);
}

.natech-formation-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	max-width: calc(100% - 20px);
	padding: 6px 9px;
	border-radius: 6px;
	background: #0d5c75;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	overflow-wrap: anywhere;
}

.natech-formation-body {
	padding: 16px;
}

.natech-formation-body h3 {
	margin: 0;
	color: #17212b;
	font-size: 18px;
	line-height: 1.35;
	letter-spacing: 0;
}

.natech-formations-status {
	min-height: 28px;
	margin-top: 20px;
	color: #526272;
	font-size: 14px;
	text-align: center;
}

.natech-formations-empty {
	grid-column: 1 / -1;
	margin: 0;
	padding: 22px;
	border: 1px solid #d9e0e6;
	border-radius: 8px;
	background: #fff;
	color: #526272;
}

.natech-formations-sentinel {
	width: 100%;
	height: 1px;
}

.natech-formations-home-carousel {
	--natech-carousel-gap: 22px;
	--natech-carousel-orange: #ee812e;
	position: relative;
	width: 100%;
	padding: 0 52px;
	box-sizing: border-box;
}

.natech-formations-home-carousel *,
.natech-formations-home-carousel *::before,
.natech-formations-home-carousel *::after {
	box-sizing: border-box;
}

.natech-formations-carousel-viewport {
	width: 100%;
	overflow: hidden;
	scroll-behavior: smooth;
}

.natech-formations-carousel-track {
	display: flex;
	gap: var(--natech-carousel-gap);
	width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.natech-formations-carousel-track::-webkit-scrollbar {
	display: none;
}

.natech-formations-carousel-slide {
	position: relative;
	display: block;
	flex: 0 0 calc((100% - (3 * var(--natech-carousel-gap))) / 4);
	aspect-ratio: 4 / 3;
	min-width: 0;
	overflow: hidden;
	border-radius: 8px;
	background: #edf2f6;
	text-decoration: none;
	scroll-snap-align: start;
	transition: transform .18s ease, box-shadow .18s ease;
}

.natech-formations-carousel-slide:hover,
.natech-formations-carousel-slide:focus {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(24, 39, 54, .16);
	outline: none;
}

.natech-formations-carousel-slide:focus-visible {
	outline: 3px solid var(--natech-carousel-orange);
	outline-offset: 3px;
}

.natech-formations-carousel-slide img,
.natech-formations-carousel-placeholder {
	display: block;
	width: 100%;
	height: 100%;
}

.natech-formations-carousel-slide img {
	object-fit: cover;
	transition: transform .24s ease;
}

.natech-formations-carousel-slide:hover img,
.natech-formations-carousel-slide:focus img {
	transform: scale(1.04);
}

.natech-formations-carousel-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 18px;
	background: linear-gradient(135deg, #e5eef4, #c9d6df);
	color: #17212b;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
}

.natech-formations-carousel-arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--natech-carousel-orange);
	font-size: 32px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	transform: translateY(-50%);
	transition: background .18s ease, color .18s ease, opacity .18s ease;
}

.natech-formations-carousel-arrow:hover,
.natech-formations-carousel-arrow:focus {
	background: transparent;
	color: var(--natech-carousel-orange);
	outline: none;
}

.natech-formations-carousel-arrow:focus-visible {
	outline: 3px solid rgba(238, 129, 46, .35);
	outline-offset: 3px;
}

.natech-formations-carousel-arrow[disabled] {
	opacity: .42;
	cursor: default;
	pointer-events: none;
}

.natech-formations-carousel-prev {
	left: 0;
}

.natech-formations-carousel-next {
	right: 0;
}

@media (max-width: 960px) {
	.natech-formations-catalogue {
		grid-template-columns: 1fr;
	}

	.natech-formations-sidebar {
		position: static;
	}

	.natech-formations-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.natech-formations-carousel-slide {
		flex-basis: calc((100% - (2 * var(--natech-carousel-gap))) / 3);
	}
}

@media (max-width: 600px) {
	.natech-formations-grid {
		grid-template-columns: 1fr;
	}

	.natech-formations-home-carousel {
		padding: 0 44px;
	}

	.natech-formations-carousel-slide {
		flex-basis: 100%;
	}

	.natech-formations-carousel-arrow {
		width: 36px;
		height: 36px;
		font-size: 28px;
	}
}
