/* Remove default margin */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
	margin: 0;
}


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

/* Set core body defaults */
body {
	min-height: 100vh;
	scroll-behavior: smooth;
	text-rendering: optimizeSpeed;
	/* line-height: 1.4em; */
}

/* A elements that don't have a class get default styles */
a:not([class]) {
	text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img {
	max-width: 100%;
	display: block;
	height: auto;
}

/* Natural flow and rhythm in articles by default */
article > * + * {
	margin-top: 1em;
}

/* Do not add article flow spacing right after the global breadcrumb bar. */
article > .site-breadcrumb-bar-wrap + * {
	margin-top: 0 !important;
}

/* Handle layouts where breadcrumb sits outside article/main, and hidden titles become child #1. */
.site-breadcrumb-bar-wrap ~ main article > :first-child,
.site-breadcrumb-bar-wrap ~ main article > :first-child + *,
.site-breadcrumb-bar-wrap + article > :first-child,
.site-breadcrumb-bar-wrap + article > :first-child + *,
article > .site-breadcrumb-bar-wrap + * + * {
	margin-top: 0 !important;
}

/* Reset article spacing for ACF blocks */
article > .wvhdf-hero-main,
article > .wvhdf-on-this-page,
article > .section-container {
	margin-top: 0 !important;
}


/* article:first-of-type > h1:first-of-type {
	display: none;
} */

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
	font: inherit;
}

/* Animated view transitions unless the user says not to */
@media (prefers-reduced-motion: no-preference) {
	@view-transition {
		navigation: auto;
	}
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
		view-transition-name: none !important;

	}
	@view-transition {
		navigation: none !important;
	}
}



/* Allow Adobe PDF embed container to use full available width */
.ViewSDK_hideOverflow {
	max-width: 960px !important;
}

/* Normalize embedded file viewers (OneDrive / Google viewer, etc.) */
.wrap-file {
	width: 100%;
	max-width: 960px !important;
	margin-inline: auto;
}

.wrap-file iframe {
	display: block;
	width: 100% !important;
	height: 100% !important;
	border: 0;
}


#post-404{
	padding: 88px 0;
	.row{
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 24px;
		.col{
			/* width: 50%; */
			img{
				width: 100%;
				object-fit: cover;
				object-position: 50% 25%;
				max-height: 500px;
				border-radius: 64px 0 64px 0 !important;
			}
			.primary-button{
				margin: 24px 0;
			}
		}
	}
}

@media (min-width: 768px){
	#post-404{
		.row{
			flex-direction: row;
			gap: 48px;
			.col{
				width: 50%;
			}
		}
	}
}



// add some support for classic editor styles
.wp-caption {
    max-width: 100%;
}
.wp-caption.alignright {
    float: right;
    margin: 0 0 1em 1.5em;
}
.wp-caption.alignleft {
    float: left;
    margin: 0 1.5em 1em 0;
}
.wp-caption-text {
    font-size: 0.85em;
    text-align: center;
    margin-top: 5px;
}