:root {
	--duration-short: 100ms;
	--duration-default: 200ms;
	--duration-announcement-bar: 250ms;
	--duration-medium: 300ms;
	--duration-long: 500ms;
	--duration-extra-long: 600ms;
	--duration-extra-longer: 750ms;
	--duration-extended: 3s;
	--ease-out-slow: cubic-bezier(0, 0, 0.3, 1);
	--animation-slide-in: slideIn var(--duration-extra-long)
		var(--ease-out-slow) forwards;
	--animation-slide-in--menu: slideIn var(--duration-medium)
		var(--ease-out-slow) forwards;
	--animation-fade-in: fadeIn var(--duration-extra-long) var(--ease-out-slow);

	--header-height: 100px;
	--page-gutter: 40px;
	--page-max-width: 1380px;
	--num-grid-columns: 12;
}

@media screen and (max-width: 1024px) {
	:root {
		--page-gutter: 32px;
	}
}

@media screen and (max-width: 768px) {
	:root {
		--page-gutter: 24px;
		--header-height: 80px;
	}
}

@media screen and (max-width: 640px) {
	:root {
		--page-gutter: 16px;
	}
}

@media screen and (min-width: 1600px) {
	:root {
		--scale-multiplier: 1.15;
		--container-scale-multiplier: 1.075;
		--wp--style--global--wide-size: calc(
			1460px * var(--container-scale-multiplier)
		);
	}
}

@media screen and (min-width: 2001px) {
	:root {
		--scale-multiplier: 1.15;
		--container-scale-multiplier: 1.05;
		--wp--style--global--wide-size: calc(
			1460px * var(--container-scale-multiplier)
		);

		/* --wp--preset--font-size--caption: calc(14px * var(--scale-multiplier));
		--wp--preset--font-size--body: calc(16px * var(--scale-multiplier));
		--wp--preset--font-size--intro: clamp(
			18px,
			calc(18px + ((1vw - 4px) * 0.125)),
			calc(20px * var(--scale-multiplier))
		);
		--wp--preset--font-size--sm: clamp(
			20px,
			calc(20px + ((1vw - 4px) * 0.25)),
			calc(24px * var(--scale-multiplier))
		);
		--wp--preset--font-size--md: clamp(
			24px,
			calc(24px + ((1vw - 4px) * 0.5)),
			calc(32px * var(--scale-multiplier))
		);
		--wp--preset--font-size--lg: clamp(
			28px,
			calc(28px + ((1vw - 4px) * 0.75)),
			calc(40px * var(--scale-multiplier))
		);
		--wp--preset--font-size--x-lg: clamp(
			36px,
			calc(36px + ((1vw - 4px) * 0.75)),
			calc(48px * var(--scale-multiplier))
		);
		--wp--preset--font-size--xx-lg: clamp(
			40px,
			calc(40px + ((1vw - 4px) * 1.5)),
			calc(64px * var(--scale-multiplier))
		);
		--wp--preset--font-size--xxx-lg: clamp(
			40px,
			calc(40px + ((1vw - 4px) * 2)),
			calc(72px * var(--scale-multiplier))
		); */
	}
}

*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: inherit;
	border-width: 0;
	border-style: solid;
}

html {
	box-sizing: border-box;
	font-family: system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif,
		'Apple Color Emoji', 'Segoe UI Emoji';
	line-height: 1.15; /* 1. Correct the line height in all browsers. */
	-webkit-text-size-adjust: 100%; /* 2. Prevent adjustments of font size after orientation changes in iOS. */
	-moz-tab-size: 4; /* 3. Use a more readable tab size (opinionated). */
	tab-size: 4; /* 3 */
	scroll-behavior: smooth;
	font-variant-numeric: lining-nums;
}

body {
	margin: 0; /* Remove the margin in all browsers. */
	-webkit-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	scroll-behavior: smooth;
}

abbr[title] {
	text-decoration: underline dotted;
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
	display: block;
	vertical-align: middle;
}

img,
video {
	max-width: 100%;
	height: auto;
}

.google-map * {
	border-style: none;
}

.swiper-wrapper {
	box-sizing: border-box;
}

ul,
ol {
	margin-bottom: 1.5rem;
	padding-left: 1rem;
}

ol {
	padding-left: 1.75rem;
}

@media screen and (max-width: 768px) {
	h1,
	h2,
	h3,
	h4,
	h5 {
		margin-bottom: 1rem;
	}
}

.skip-link {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	-webkit-clip-path: inset(50%);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.skip-link:focus {
	background-color: #eee;
	clip: auto !important;
	-webkit-clip-path: none;
	clip-path: none;
	color: #444;
	display: block;
	font-size: 1em;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

html.lenis,
html.lenis body {
	height: auto;
}

.lenis:not(.lenis-autoToggle).lenis-stopped {
	overflow: clip;
}

.lenis.lenis-smooth [data-lenis-prevent] {
	overscroll-behavior: contain;
}

.lenis.lenis-smooth iframe {
	pointer-events: none;
}

.lenis.lenis-autoToggle {
	transition-property: overflow;
	transition-duration: 1ms;
	transition-behavior: allow-discrete;
}

/* Style tab buttons to look like links */
.tabs__control {
	background: none;
	border: none;
	padding: 0;
	font: inherit;
	color: inherit;
	cursor: pointer;
	text-decoration: none;
}

.pswp__bg {
	background-color: #f5f3eb !important;
}

.pswp__img {
	background-color: #f5f3eb !important;
}

@media screen and (max-width: 480px) {
	.apartment-features .wp-block-group {
		flex-basis: 150px !important;
	}
}
