.site-header {
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
}

.top-bar {
	max-height: 4.5rem;
	overflow: hidden;
	transition: max-height 0.35s ease, opacity 0.25s ease;
}

.site-header.is-scrolled .top-bar {
	max-height: 0;
	opacity: 0;
}

.main-bar {
	transition: padding 0.3s ease;
}

.site-logo {
	height: 3.5rem;
	transition: height 0.3s ease;
}

@media (min-width: 640px) {
	.site-logo {
		height: 4rem;
	}
}

.site-header.is-scrolled .main-bar {
	padding-top: 0.4rem;
	padding-bottom: 0.4rem;
}

.site-header.is-scrolled .site-logo {
	height: 2.75rem;
}

.to-top {
	position: fixed;
	left: 50%;
	bottom: 1.35rem;
	z-index: 45;
	display: inline-flex;
	height: 2.75rem;
	width: 2.75rem;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: #06243f;
	color: #fff;
	box-shadow: 0 10px 28px rgba(4, 24, 43, 0.28);
	opacity: 0;
	pointer-events: none;
	transform: translateX(-50%) translateY(10px);
	transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
}

.to-top svg {
	height: 1.25rem;
	width: 1.25rem;
}

.to-top.is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: translateX(-50%) translateY(0);
}

.to-top:hover {
	background: #0c7fcb;
}

.to-top:focus-visible {
	outline: 2px solid #f0b429;
	outline-offset: 3px;
}

@media (max-width: 1023px) {
	.to-top {
		bottom: 5.35rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.top-bar,
	.main-bar,
	.site-logo,
	.to-top {
		transition: none;
	}
}

@media (min-width: 1024px) {
	#site-nav {
		display: flex !important;
	}

	#site-nav .group > div {
		display: none;
	}

	#site-nav .group:hover > div,
	#site-nav .group:focus-within > div {
		display: grid !important;
	}
}

@media (max-width: 1023px) {
	#site-nav.is-open {
		display: block !important;
	}

	body {
		padding-bottom: 4.75rem;
	}
}

summary {
	list-style: none;
}

summary::-webkit-details-marker {
	display: none;
}

.quote-ready .quote-step {
	display: none;
}

.quote-ready .quote-step.is-active {
	display: block;
}

.quote-choice input:focus-visible + span {
	outline: 2px solid #06243f;
	outline-offset: 3px;
}

.entry-content {
	color: #163044;
	font-size: 1.125rem;
	line-height: 1.7;
}

.entry-content::after {
	content: "";
	display: table;
	clear: both;
}

.entry-content > * + * {
	margin-top: 1.15rem;
}

.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	clear: both;
	color: #06243f;
	font-family: Fraunces, Georgia, serif;
	font-weight: 650;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

.entry-content h2 {
	font-size: 2.25rem;
	margin-top: 2.5rem;
}

.entry-content h3 {
	font-size: 1.65rem;
	margin-top: 2rem;
}

.entry-content h4,
.entry-content h5,
.entry-content h6 {
	font-size: 1.25rem;
	margin-top: 1.75rem;
}

.entry-content a {
	color: #0c7fcb;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.entry-content a:hover {
	color: #06243f;
}

.entry-content strong {
	font-weight: 650;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.35rem;
}

.entry-content ul {
	list-style: disc;
}

.entry-content ol {
	list-style: decimal;
}

.entry-content li + li {
	margin-top: 0.35rem;
}

.entry-content blockquote {
	border-left: 3px solid #f0b429;
	clear: both;
	color: #06243f;
	font-family: Fraunces, Georgia, serif;
	font-size: 1.45rem;
	line-height: 1.35;
	padding-left: 1.25rem;
}

.entry-content hr {
	border: 0;
	border-top: 1px solid #d7e3ee;
	clear: both;
	margin: 2rem 0;
}

.entry-content table {
	border-collapse: collapse;
	font-size: 1rem;
	width: 100%;
}

.entry-content th,
.entry-content td {
	border-bottom: 1px solid #d7e3ee;
	padding: 0.7rem 0.75rem;
	text-align: left;
	vertical-align: top;
}

.entry-content th {
	color: #06243f;
	font-weight: 650;
}

.entry-content pre,
.entry-content code {
	font-size: 0.92em;
}

.entry-content pre {
	background: #e7f3fb;
	border-radius: 1rem;
	overflow-x: auto;
	padding: 1rem 1.15rem;
}

.entry-content img,
.entry-content video,
.entry-content iframe {
	height: auto;
	max-width: 100%;
}

.entry-content img {
	border-radius: 1rem;
}

.entry-content .alignleft,
.entry-content .alignright,
.entry-content .aligncenter,
.entry-content .alignnone,
.entry-content .wp-caption {
	max-width: 100%;
}

.entry-content .alignleft {
	float: left;
	margin: 0.35rem 1.5rem 1rem 0;
}

.entry-content .alignright {
	clear: right;
	float: right;
	margin: 0.35rem 0 1rem 1.5rem;
}

.entry-content .aligncenter,
.entry-content img.aligncenter,
.entry-content .aligncenter img {
	clear: both;
	display: block;
	float: none;
	margin-left: auto;
	margin-right: auto;
}

.entry-content .aligncenter {
	margin-bottom: 1.25rem;
	margin-top: 1.25rem;
}

.entry-content .alignnone {
	clear: none;
	float: none;
	margin: 0.35rem 1.25rem 1rem 0;
}

.entry-content img.alignnone,
.entry-content .wp-caption.alignnone img,
.entry-content figure.alignnone img {
	display: inline-block;
	float: none;
	vertical-align: middle;
}

.entry-content .wp-caption img,
.entry-content figure img {
	margin-bottom: 0;
}

.entry-content .wp-caption-text,
.entry-content figcaption {
	color: #4b6275;
	font-size: 0.875rem;
	line-height: 1.45;
	margin-top: 0.5rem;
}

.entry-content .gallery {
	clear: both;
	display: grid;
	gap: 0.75rem;
	grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
}

.entry-content .gallery-item {
	float: none;
	margin: 0;
	width: auto !important;
}

.entry-content .gallery img {
	width: 100%;
}

@media (max-width: 640px) {
	.entry-content .alignleft,
	.entry-content .alignright,
	.entry-content .alignnone,
	.entry-content img.alignnone {
		display: block;
		float: none;
		margin-left: 0;
		margin-right: 0;
	}
}

.post-pagination {
	margin-top: 2.5rem;
}

.post-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
}

.post-pagination .page-numbers {
	display: inline-flex;
	min-width: 2.5rem;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	border: 1px solid #e2e8f0;
	background: #fff;
	padding: 0.5rem 0.9rem;
	font-size: 0.875rem;
	font-weight: 700;
	color: #06243f;
}

.post-pagination a.page-numbers:hover {
	color: #0c7fcb;
}

.post-pagination .page-numbers.current {
	background: #06243f;
	color: #fff;
}

.wpcf7 .hidden-fields-container {
	display: none;
}

.wpcf7 form .wpcf7-response-output {
	margin: 1rem 0 0;
	padding: 0.75rem 1rem;
	border: 0;
	border-radius: 1rem;
	background: #fef2f2;
	color: #b91c1c;
	font-size: 0.875rem;
	line-height: 1.45;
}

.wpcf7 form.sent .wpcf7-response-output {
	background: #ecfdf5;
	color: #047857;
}

.wpcf7 form.submitting button[type="submit"] {
	opacity: 0.65;
	pointer-events: none;
}

body.admin-bar .site-header {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar .site-header {
		top: 46px;
	}
}
