/*
 * Layout: content area under the header — main column + sidebar (live #tm-middle / .tm-main / main#tm-content / aside).
 * >= 993px: main 70% + sidebar 30% inside a 1170px container; <= 992px: one column.
 */

.hg-layout {
	display: flex;
	flex-wrap: wrap;
	max-width: var(--hg-container);
	margin: 0 auto;
}

.hg-layout__main {
	width: 70%;
}

.hg-layout__content {
	position: relative;
	padding: 100px 79px 0 30px;
}

.hg-layout__component {
	margin-top: 100px;
}

.hg-layout__sidebar {
	position: relative;
	width: 30%;
	min-height: 600px;
	margin-top: 225px;
}

@media (max-width: 1024px) {
	.hg-layout {
		padding: 0 15px;
	}
}

@media (max-width: 1023px) {
	.hg-layout__component {
		margin-top: 0;
	}
}

@media (max-width: 992px) {
	.hg-layout__main,
	.hg-layout__sidebar {
		width: 100%;
	}

	.hg-layout__content {
		padding: 60px 30px;
	}
}

@media (max-width: 767px) {
	.hg-layout__content {
		padding: 60px 0 60px 7px;
	}

	.hg-layout__sidebar {
		margin-top: 0;
	}
}

@media (max-width: 413px) {
	.hg-layout__content {
		padding: 60px 0;
	}
}

/* ≤ 767px the content of the inner pages starts under the fixed header (live #tm-middle / #tm-content: 105px). */
@media (max-width: 767px) {
	main.hg-layout,
	main.hg-about {
		margin-top: 105px;
	}
}
