/* ==========================================================
   Kleingärtner Theme
   Utilities
   Version: 1.0.0
========================================================== */

/* ==========================================================
   Display
========================================================== */

.kg-hidden {
	display: none !important;
}

.kg-block {
	display: block;
}

.kg-inline {
	display: inline;
}

.kg-inline-block {
	display: inline-block;
}

/* ==========================================================
   Flex
========================================================== */

.kg-flex {
	display: flex;
}

.kg-flex-center {
	display: flex;
	align-items: center;
	justify-content: center;
}

.kg-flex-between {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.kg-flex-column {
	display: flex;
	flex-direction: column;
}


.kg-flex-wrap {
	flex-wrap: wrap;
}

/* ==========================================================
   Grid
========================================================== */

.kg-grid {
	display: grid;
	gap: 2rem;
}

.kg-grid-auto {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2rem;
}

/* ==========================================================
   Text
========================================================== */

.kg-text-center {
	text-align: center;
}

.kg-text-left {
	text-align: left;
}

.kg-text-right {
	text-align: right;
}

/* ==========================================================
   Width
========================================================== */

.kg-w-100 {
	width: 100%;
}

.kg-max-content {
	max-width: var(--kg-content-width);
	margin-inline: auto;
}

.kg-max-text {
	max-width: var(--kg-text-width);
	margin-inline: auto;
}

/* ==========================================================
   Spacing
========================================================== */

.kg-mb-0 {
	margin-bottom: 0 !important;
}

.kg-mt-lg {
	margin-top: clamp(2rem, 5vw, 4rem);
}

.kg-mb-lg {
	margin-bottom: clamp(2rem, 5vw, 4rem);
}

.kg-p-lg {
	padding: clamp(2rem, 5vw, 4rem);
}

/* ==========================================================
   Radius
========================================================== */

.kg-rounded-sm {
	border-radius: var(--kg-radius-sm);
}

.kg-rounded-md {
	border-radius: var(--kg-radius-md);
}

.kg-rounded-lg {
	border-radius: var(--kg-radius-lg);
}

/* ==========================================================
   Shadows
========================================================== */

.kg-shadow-sm {
	box-shadow: var(--kg-shadow-sm);
}

.kg-shadow-md {
	box-shadow: var(--kg-shadow-md);
}

.kg-shadow-lg {
	box-shadow: var(--kg-shadow-lg);
}

/* ==========================================================
   Overflow
========================================================== */

.kg-overflow-hidden {
	overflow: hidden;
}

/* ==========================================================
   Accessibility
========================================================== */

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	position: static;
	width: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	clip: auto;
	clip-path: none;
	white-space: normal;
}

/* ==========================================================
   Motion
========================================================== */

.kg-hidden-reveal {
	opacity: 1;
	transform: translateY(0);
}

.kg-visible {
	opacity: 1;
	transform: translateY(0);
}

/* ==========================================================
   Print
========================================================== */

@media print {

	.site-header,
	.site-footer,
	.wp-block-buttons {
		display: none !important;
	}

	body {
		background: #fff;
		color: #000;
	}
}