h2, h3 {
	margin-bottom: 15px;
}

.training,
.templates,
.seminars {
	width: 96%;
	justify-content: space-between;
	margin-bottom: 30px;
}

.training {
	margin: 0 0 45px 0;
	align-items: stretch;
	gap: 15px;
}

.training h2 {
	margin-bottom: 8px;
}

.training p {
	margin-top: .7em;
}

.training div {
	position: relative;
	hyphens: none;
}

.training div:nth-of-type(1) {
	flex: 0 0 400px;
	margin-top: 7px;
}

.templates {
	list-style: none;
	gap: 20px;
}

.templates li {
	outline: var(--tt-border);
	border-radius: var(--radius-big);
	transition: transform 0.2s ease;
}

.templates li:hover {
	box-shadow: var(--shadow-a);
	transform: translate(-1px, -1px); /* Сдвигаем по диагонали */
}

.templates li {
	font-size: 14px;
	background: #eec;
	overflow: hidden;
}

.templates li.docs {
	background: #eee;
}

.templates li.proj {
	background: #ece;
}

.templates li.aqua {
	background: #cee;
}

.templates li a {
	padding: 15px;
	margin-left: 15px;
	hyphens: none;
	background: white;
	display: block;
}

.seminars {
	justify-content: space-between;
}

.seminars div {
	padding: 5px 0;
	display: flex;
	flex-flow: column;
	text-align: center;
	align-items: center;
	border: var(--tt-border);
	border-radius: var(--radius-big);
}

.seminars div:hover {
	box-shadow: var(--shadow-a);
}

.seminars div p {
	padding: 0 10px;
	width: 100%;
}

.seminars div p:nth-of-type(4) {
	flex-grow: 1;
	font-size: 14px;
	padding: 10px;
}

.seminars div p:nth-of-type(2) {
	background-color: #d0e0ef;
}

button {
	margin: 10px;
	font-size: 16px;
}