/** == General (_general.scss) == */
// Frontend styles that don't belong other places

body {
	background: var(--knd-page-bg-color);
	color: var(--knd-color-base,#000000);
	text-rendering: optimizeLegibility;
	@include knd-body-text();

	& > svg { display: none; }
}


.svg-icon, .svg-pic {
	display: inline-block;
}


//global page elements
.main-content {

	@media (max-height: 1200px){
		min-height: 60vh;
	}

	&:not(.knd-overflow-visible) {
		overflow:hidden;
	}

	&.archive-post-list {
		margin-top: 70px;
		min-height: initial;

		> .container:first-child {
			margin-top: -70px;
		}

		.knd-pagination {
			margin-bottom: 0;
		}

		.projects-completed-container {
			margin-top: 30px;

			.section-title {
				font-size: 26px;
				font-family: var(--knd-font-family-headings);
				color: var(--knd-color-headings);
				margin-top: 0;
				margin-bottom: 30px;
				padding: 0;
			}
		}

		.knd-pagination + .projects-completed-container {
			margin-top: 70px;
		}

		.knd-project-completed {
			opacity: var(--knd-completed-project-opacity);

			.thumbnail-link,
			.entry-title {
				color: var(--knd-completed-project-color);
			}
		}
	}

	&.search-loop {
		min-height: initial;
		padding-bottom: 70px;
		padding-top: 5px;

		.knd-pagination {
			margin-bottom: 0;
		}
	}
}

.heading {
	h1 {
		padding: $gut / 1.2 0px $gut / 1.7 0px;
	}
}

.section-title {
	@include knd-head-exlarge-single-text();
	color: var(--knd-color-headings);
}

.knd-main {
	overflow: hidden;
	padding-top: $logo_small_h + $height_gap + 1px;

	@include for(medium-screens) {
		padding-top: $logo_full_h + $height_gap + 1px;
	}
}
