/* Fonts and typography shared by the site and the block editor. */

@font-face {
	font-family: "Open Sans";
	font-style: normal;
	font-weight: 300 800;
	font-display: swap;
	src: url(../fonts/open-sans-latin.woff2) format("woff2");
}

@font-face {
	font-family: "Open Sans";
	font-style: italic;
	font-weight: 300 800;
	font-display: swap;
	src: url(../fonts/open-sans-latin-italic.woff2) format("woff2");
}

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

h1, h2, h3, h4, h5, h6 {
	color: inherit;
	font-family: inherit;
	font-weight: 500;
	line-height: 1.2;
	margin-block: 0.5rem 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
	margin-block: 0 0.9rem;
}

a {
	background-color: transparent;
	color: #c36;
	text-decoration: none;
}

a:hover,
a:active {
	color: #336;
}

strong,
b {
	font-weight: bolder;
}

ul,
ol,
li,
dl,
dt,
dd {
	margin-block: 0;
}

img {
	border-style: none;
	height: auto;
	max-width: 100%;
}

.entry-content iframe,
.entry-content embed,
.entry-content object,
.entry-content video {
	border: none;
	line-height: 1;
	margin: 0;
	max-width: 100%;
	width: 100%;
}

.wp-block-columns {
	gap: 24px;
}

.wp-block-image {
	margin: 0;
}

.alignleft {
	float: left;
	margin-right: 1rem;
}

.alignright {
	float: right;
	margin-left: 1rem;
}

.aligncenter {
	clear: both;
	display: block;
	margin-inline: auto;
}

.entry-content,
.editor-styles-wrapper {
	color: #030303;
	font-family: "Open Sans", sans-serif;
	font-size: 18px;
	font-weight: 300;
	letter-spacing: 0;
	line-height: 1.8em;
}

@media (max-width: 1024px) {
	.entry-content,
	.editor-styles-wrapper {
		font-size: 17px;
	}
}
