/*
Theme Name: Terzo Garden
Description: Custom full-site editing theme for Terzo Garden.
Requires at least: 7.0
Requires PHP: 8.3
Version: 0.1
Text Domain: terzogarden
*/

*,
*::before,
*::after {
	box-sizing: border-box;
}

p {
	text-wrap: pretty;
}

h1,
h2,
h3,
h4 {
	text-wrap: balance;
}

:focus-visible {
	outline: 0.125rem solid currentcolor;
	outline-offset: 0.125rem;
}

img {
	user-select: none;
}

.visually-hidden:not(:focus):not(:active) {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: 0;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

main :is(p, ul):not(:last-child) {
	margin-bottom: 1.15em;
}

main ul {
	padding-inline-start: 1.75em;
}

.wp-block-group.is-style-section {
	padding-inline: var(--wp--custom--edge-padding);
	width: 100%;
}

.wp-block-group.is-style-section > div {
	margin-inline: auto;
	max-width: 79rem;
}

.max48 {
	margin-inline: auto;
	max-width: 48rem;
}

.max-fit-content {
	margin-inline: auto;
	max-width: fit-content;
}

.objectfit {
	overflow: clip;
}

.objectfit img {
	display: block;
	height: 100% !important;
	object-fit: cover;
	object-position: center;
	width: 100%;
}

.gap64 {
	gap: 0 4rem;
}

.gap4864 {
	gap: 2.5rem clamp(2rem, calc(2rem + ((1vw - 0.48rem) * 12.5)), 4rem);
}

.vertically-centered > .wp-block-column {
	display: flex;
	flex-flow: column nowrap;
	justify-content: center;
}

@media (width < 48rem) {
	.collapse-reverse {
		flex-direction: column-reverse;
	}

	.collapse-reverse2 .wp-block-column:first-child {
		order: 2;
	}

	.collapse-reverse2 .wp-block-column:last-child {
		order: 1;
	}
}
