/* CSS Reset */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overscroll-behavior: none;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	padding: 0;
	min-height: 100vh;
}

img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
}

input,
button,
textarea,
select {
	font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
	overflow-wrap: break-word;
}

ul,
ol {
	list-style: none;
}
ol.wp-block-list {
	list-style: decimal;
}
.wp-block-list {
	list-style: disc;
	padding-left: var(--spacing-md);
	margin-block: var(--spacing-md);
}
.wp-block-list li {
	margin-bottom: var(--spacing-xs);
}
.wp-block-list li:last-child {
	margin: 0;
}
.no-list .wp-block-list {
	list-style: none;
	padding-left: 0;
}

.no-list .wp-block-list a {
	text-decoration: none;
}

a {
	text-decoration: none;
	color: inherit;
	transition: var(--transition-base);
}

button {
	border: none;
	background: none;
	cursor: pointer;
}

main#content {
	padding-top: 136px;
	min-height: 50vh;
}

fieldset {
	border: none;
}

.wp-block-image {
	margin: 0;
}
iframe {
	max-width: 100%;
}
:where(main .entry-content) p:not(:last-child) {
	margin-bottom: 1.25em;
}

:where(main .entry-content) :is(h2, h3, h4, h5, h6) {
	/* margin-bottom: 0.5em; */
}
/* table */
figure.wp-block-table table {
	border-collapse: separate;
	/* min-width: 500px; */
}
table:not(:has(thead)) tbody tr:first-child:not(:has(td:not(:empty))) {
	display: none;
}
table thead,
table:not(:has(thead)) tbody tr:first-child {
	background: var(--color-navy);
	color: var(--color-white);
}

.wp-block-table table tr td,
.wp-block-table table tr th {
	padding: var(--spacing-sm) var(--spacing-xs);
	border: 1px solid var(--color-navy);
	white-space: nowrap;

}
table * {
	font-size: var(--font-16);
	border-color: var(--color-navy) !important;
}
figcaption.wp-element-caption {
	font-size: var(--font-16);
	text-align: left;
	color: var(--color-navy);
	margin-top: var(--spacing-xs);
}
figure.wp-block-table {
	margin-block: var(--spacing-md);
}

@media (max-width: 1025px) {
	main#content {
		padding-top: 100px;
	}
}