: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: 80px;
    --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;
    }
}

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

*,
*::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 */
}

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;
}

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;
}

strong {
	font-weight: 500;
}

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

header.wp-block-template-part {
    transition: background-color var(--duration-default) var(--ease-out-slow), box-shadow var(--duration-default) var(--ease-out-slow);
}

header.wp-block-template-part.scrolled {
    background-color: var(--wp--preset--color--midnight);
    border-bottom: 1px solid rgba(255, 255, 249, 0.1);
    box-shadow: 0px 4px 20px 4px rgba(255, 255, 249, 0.1);
}

header.wp-block-template-part .wp-container-core-group-is-layout-2 {
    transition: border-bottom var(--duration-default) var(--ease-out-slow);
}

header.wp-block-template-part.scrolled .wp-container-core-group-is-layout-2{
    border-bottom-color: var(--wp--preset--color--midnight) !important;
}