:root {
	--bt-navy: #273443;
	--bt-blue: #2166AC;
	--bt-blue-dark: #1F3A5F;
	--bt-orange: #C8501E;
	--bt-light: #EEF3F8;
	--bt-hair: #C9D3DE;
	--bt-grey: #5A6570;
	--bt-heading: var(--beltone--blue--dark, #0f5587);
	--bt-sticky-top: calc(122px + 1.5rem);
}

#wrapper.blog-post-content {
	display: block;
	padding-left: 1rem;
	padding-right: 1rem;
	overflow: clip;
}

.blog-topbar {
	max-width: 1200px;
	margin: 0 auto 1.5rem;
}

#wrapper .blog-listing-title {
	margin: 0 0 .5rem;
}

.blog-filter {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	justify-content: center;
	margin: 1rem 0 .5rem;
}

.blog-filter a {
	display: inline-block;
	padding: .4rem .9rem;
	border: 1px solid var(--bt-hair);
	border-radius: 999px;
	font-size: .9rem;
	color: var(--bt-blue-dark);
	text-decoration: none;
	background: #fff;
	transition: .15s;
	white-space: nowrap;
}

.blog-filter a:hover {
	background: var(--bt-light);
}

.blog-filter a.is-active {
	background: var(--bt-blue);
	border-color: var(--bt-blue);
	color: #fff;
}

.blog-featured {
	max-width: 1200px;
	margin: 0 auto 2rem;
}

.blog-featured-inner {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	gap: 1.75rem;
	align-items: center;
	background: #fff;
	border: 1px solid var(--bt-hair);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(39, 52, 67, .06);
}

.blog-featured-img {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	min-height: 320px;
	background: var(--bt-light);
}

.blog-featured-img img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.blog-featured-body {
	padding: 1.75rem 2rem;
}

.blog-featured-tag {
	display: inline-block;
	background: var(--bt-orange);
	color: #fff;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	padding: .2rem .6rem;
	border-radius: 4px;
	margin-bottom: .75rem;
}

#wrapper .blog-featured-body h2 {
	color: var(--bt-blue-dark);
	margin: .25rem 0 .5rem;
	line-height: 1.2;
}

#wrapper .blog-featured-body h2 a {
	color: inherit;
	text-decoration: none;
}

#wrapper .blog-featured-meta {
	color: var(--bt-grey);
	font-size: .85rem;
	margin-bottom: .75rem;
}

.blog-featured-meta .icon-spacer {
	margin-right: .35rem;
}

#wrapper .blog-featured-excerpt {
	color: #333;
	margin-bottom: 1rem;
}

.blog-post-grid-list {
	max-width: 1200px;
	margin: 0 auto 2rem;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
	align-items: stretch;
}

#wrapper .blog-post-grid-wrapper {
	display: flex;
	width: auto;
	margin: 0;
}

#wrapper .blog-post-grid {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	margin: 0;
	background: #fff;
	border: 1px solid var(--bt-hair);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(39, 52, 67, .06);
	padding: 1.25rem;
	transition: box-shadow .15s, transform .15s;
}

#wrapper .blog-post-grid:hover {
	box-shadow: 0 6px 18px rgba(39, 52, 67, .12);
	transform: translateY(-2px);
}

.blog-post-grid .header-link {
	text-decoration: none;
}

#wrapper .blog-post-grid h2.h1 {
	font-size: 1.2rem;
	line-height: 1.3;
	margin: .15rem 0 .6rem;
	color: var(--bt-blue-dark);
}

.blog-card-img {
	display: block;
	height: 250px;
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: .75rem;
	background: var(--bt-light);
}

.blog-card-img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
}

#wrapper .blog-post-grid p {
	display: block;
	overflow: visible;
	-webkit-line-clamp: none;
	color: #333;
	font-size: .92rem;
	flex: 1 1 auto;
	margin: 0 0 1rem;
}

.blog-post-grid .blog-link {
	margin-top: auto;
}

.blog-cat-pill {
	display: inline-block;
	width: fit-content;
	background: var(--bt-light);
	color: var(--bt-blue-dark);
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	padding: .2rem .55rem;
	border-radius: 4px;
	margin-bottom: .5rem;
}

.blog-card-meta {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	align-items: center;
	color: var(--bt-grey);
	font-size: .82rem;
	margin: .25rem 0 .5rem;
}

.blog-card-meta .icon-spacer {
	margin-right: .3rem;
}

#wrapper .blog-single-post .post-column {
	width: 85%;
}

.blog-breadcrumbs {
	margin: 0 auto 1rem;
	font-size: .85rem;
	color: var(--bt-grey);
}

.blog-breadcrumbs a {
	color: var(--bt-blue);
	text-decoration: none;
}

.blog-breadcrumbs a:hover {
	text-decoration: underline;
}

.blog-breadcrumbs .sep {
	margin: 0 .4rem;
	color: var(--bt-hair);
}

.blog-post-meta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: center;
	justify-content: center;
	color: var(--bt-grey);
	font-size: .9rem;
	margin: .5rem 0 1rem;
}

.blog-post-meta-row .icon-spacer {
	margin-right: .35rem;
}

.blog-cat-links a {
	display: inline-block;
	background: var(--bt-light);
	color: var(--bt-blue-dark);
	font-size: .78rem;
	font-weight: 600;
	padding: .2rem .6rem;
	border-radius: 4px;
	text-decoration: none;
	margin: 0 .25rem;
}

.blog-banner-img {
	width: 100%;
	max-height: 400px;
	object-fit: contain;
	object-position: center;
}

.blog-body-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 2.5rem;
	align-items: start;
	margin-top: 1.5rem;
}

.blog-main {
	min-width: 0;
}

.blog-sidebar {
	position: sticky;
	top: var(--bt-sticky-top);
	max-height: calc(100vh - var(--bt-sticky-top) - 1.5rem);
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: thin;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.blog-widget {
	background: #fff;
	border: 1px solid var(--bt-hair);
	border-radius: 10px;
	padding: 1.1rem 1.25rem;
}

#wrapper .blog-widget-title {
	color: var(--bt-blue-dark);
	font-size: 1.05rem;
	margin: 0 0 .75rem;
	padding-bottom: .5rem;
	border-bottom: 2px solid var(--bt-light);
}

#wrapper .blog-widget-cats {
	list-style: none;
	margin: 0;
	padding: 0;
}

.blog-widget-cats li + li {
	border-top: 1px solid var(--bt-light);
}

.blog-widget-cats a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: .5rem;
	padding: .5rem .1rem;
	color: var(--bt-blue-dark);
	text-decoration: none;
	font-size: .92rem;
}

.blog-widget-cats a:hover {
	color: var(--bt-blue);
}

.blog-widget-cats li.is-current a {
	font-weight: 700;
	color: var(--bt-blue);
}

.blog-widget-count {
	background: var(--bt-light);
	color: var(--bt-grey);
	font-size: .72rem;
	font-weight: 600;
	padding: .1rem .5rem;
	border-radius: 999px;
}

.blog-widget-tags {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem;
}

.blog-tag {
	display: inline-block;
	background: var(--bt-light);
	color: var(--bt-blue-dark);
	font-size: .8rem;
	padding: .3rem .7rem;
	border-radius: 999px;
	text-decoration: none;
	transition: .15s;
}

.blog-tag:hover {
	background: var(--bt-blue);
	color: #fff;
	text-decoration: none;
}

.blog-widget-cta {
	background: var(--bt-navy);
	border-color: var(--bt-navy);
	text-align: center;
}

#wrapper .blog-widget-cta p {
	color: #fff;
	font-weight: 600;
	margin: 0 0 .75rem;
}

.blog-widget-cta .online-button {
	display: block;
	width: 100%;
	background: var(--bt-orange);
	color: #fff;
	border: none;
	padding: .6rem .5rem;
	border-radius: 6px;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
}

.blog-widget-cta .online-button:hover,
.blog-widget-cta .online-button:focus-visible {
	color: #fff;
	text-decoration: none;
	filter: brightness(.92);
}

.blog-widget-cta .online-button .fa {
	color: #fff;
}

#wrapper .blog-content {
	font-family: 'Montserrat', sans-serif;
	font-size: 1.05rem;
	line-height: 1.7;
	color: #222;
}

#wrapper .blog-content :is(p, ul, ol, figure, blockquote, .wp-block-embed) {
	margin: 0 0 1.25rem;
}

#wrapper .blog-content :is(h2, h3, h4) {
	margin: 2.25rem 0 .75rem;
}

#wrapper .blog-content > :first-child,
#wrapper .blog-content > style:first-child + * {
	margin-top: 0;
}

#wrapper .blog-content > :last-child {
	margin-bottom: 0;
}

#wrapper .blog-content :is(h2, h3, h4) {
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	line-height: 1.3;
	color: var(--bt-heading);
}

#wrapper .blog-content h2 {
	font-size: 1.375rem;
}

#wrapper .blog-content h3 {
	font-size: 1.1875rem;
}

#wrapper .blog-content h4 {
	font-size: 1.0625rem;
	color: #222;
}

#wrapper .blog-content :is(ul, ol) {
	padding-left: 1.5em;
}

#wrapper .blog-content ul {
	list-style: disc;
}

#wrapper .blog-content ol {
	list-style: decimal;
}

#wrapper .blog-content ul ul {
	list-style: circle;
}

#wrapper .blog-content li + li {
	margin-top: .5rem;
}

#wrapper .blog-content li > :is(ul, ol) {
	margin: .5rem 0 0;
}

#wrapper .blog-content li::marker {
	color: var(--bt-heading);
}

#wrapper .blog-content ol > li::marker {
	font-weight: 700;
}

#wrapper .blog-content a:not(.wp-block-button__link) {
	color: var(--bt-blue);
	text-decoration: underline;
	text-underline-offset: .15em;
}

#wrapper .blog-content a:not(.wp-block-button__link):hover {
	color: var(--bt-blue-dark);
}

#wrapper .blog-content img {
	max-width: 100%;
	height: auto;
}

#wrapper .blog-content .wp-block-embed iframe {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
}

#wrapper .blog-content figcaption {
	margin-top: .5rem;
	font-size: .85rem;
	color: var(--bt-grey);
	text-align: center;
}

#wrapper .blog-content blockquote {
	padding: .25rem 0 .25rem 1.25rem;
	border-left: 4px solid var(--bt-heading);
	font-style: italic;
}

.blog-author {
	max-width: 80ch;
	margin: 2rem auto 1rem;
	display: flex;
	gap: 1rem;
	align-items: center;
	background: #fff;
	border: 1px solid var(--bt-hair);
	border-radius: 10px;
	padding: 1rem 1.25rem;
}

.blog-author-avatar {
	width: 56px;
	height: 56px;
	flex: 0 0 56px;
	border-radius: 50%;
	object-fit: cover;
	background: var(--bt-light);
}

.blog-author-name {
	font-weight: 700;
	color: var(--bt-blue-dark);
}

.blog-author-role {
	color: var(--bt-grey);
	font-size: .85rem;
}

.blog-share {
	max-width: 80ch;
	margin: 1.5rem auto;
	display: flex;
	gap: .6rem;
	align-items: center;
	flex-wrap: wrap;
}

.blog-share span {
	color: var(--bt-grey);
	font-size: .85rem;
	font-weight: 600;
}

.blog-share a,
.blog-share button {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	padding: .4rem .8rem;
	border: 1px solid var(--bt-hair);
	border-radius: 6px;
	background: #fff;
	color: var(--bt-blue-dark);
	text-decoration: none;
	font-size: .85rem;
	cursor: pointer;
}

.blog-share a:hover,
.blog-share button:hover {
	background: var(--bt-light);
}

.blog-related {
	max-width: 1000px;
	margin: 2.5rem auto 1rem;
}

#wrapper .blog-related h3 {
	color: var(--bt-blue-dark);
	text-align: center;
	margin-bottom: 1.25rem;
}

.blog-related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
}

.blog-related-card {
	background: #fff;
	border: 1px solid var(--bt-hair);
	border-radius: 8px;
	overflow: hidden;
}

.blog-related-card a {
	display: block;
	text-decoration: none;
	color: inherit;
}

.blog-related-thumb {
	height: 140px;
	background: var(--bt-light);
}

.blog-related-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.blog-related-body {
	padding: .75rem 1rem 1rem;
}

#wrapper .blog-related-body h4 {
	color: var(--bt-blue-dark);
	font-size: 1rem;
	margin: .25rem 0;
	line-height: 1.25;
}

.blog-related-body .blog-cat-pill {
	margin-bottom: .35rem;
}

.blog-newsletter {
	max-width: 100%;
}

.blog-newsletter .newsletter-background {
	background-color: #e1e8f5;
}

.ppwd-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .5rem;
	padding: 1rem 1rem 3rem;
	font-size: 1rem;
}

.ppwd-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .4rem;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 .85rem;
	border: 1px solid var(--bt-hair);
	border-radius: 999px;
	background: #fff;
	color: var(--bt-blue-dark);
	font-weight: 600;
	text-decoration: none;
	transition: background-color .15s, border-color .15s;
}

.ppwd-pagination a.page-numbers:hover,
.ppwd-pagination a.page-numbers:focus-visible {
	background: var(--bt-light);
	border-color: var(--bt-blue);
	color: var(--bt-blue-dark);
	font-weight: 600;
	text-decoration: none;
}

.ppwd-pagination .page-numbers.current {
	background: var(--bt-blue);
	border-color: var(--bt-blue);
	color: #fff;
	font-weight: 600;
	text-decoration: none;
}

.ppwd-pagination .page-numbers.dots {
	min-width: auto;
	padding: 0 .25rem;
	border: 0;
	background: none;
}

.ppwd-pagination .page-numbers .fas {
	font-size: .75em;
}

.blog-cta {
	background-color: #195789;
	padding: 50px 20px;
	text-align: center;
	color: #fff;
}

.blog-cta-inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}

.blog-cta-title {
	font-size: 36px;
	line-height: 1.2;
	font-weight: 700;
	color: #fff;
	margin: 0;
	padding: 0;
}

.blog-cta-text {
	font-size: 19px;
	line-height: 1.5;
	color: #fff;
	max-width: 760px;
	margin: 0;
}

.blog-cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 8px;
	padding: 16px 32px;
	border-radius: 6px;
	background: #d35400;
	color: #fff;
	text-decoration: none;
	font-size: 18px;
	font-weight: 700;
	transition: background-color .2s ease, transform .2s ease;
}

.blog-cta-btn:hover,
.blog-cta-btn:focus-visible {
	background: #b84900;
	color: #fff;
	text-decoration: none;
	transform: translateY(-2px);
}

.blog-cta-phone {
	font-size: 16px;
	color: #fff;
	margin: 0;
}

.blog-cta-phone a {
	color: #fff;
	text-decoration: underline;
	cursor: pointer !important;
	transition: opacity .2s ease;
}

.blog-cta-phone a:hover {
	opacity: .75;
}

@media (max-width: 1024px) {
	.blog-post-grid-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 1020px) {
	#wrapper .blog-single-post .post-column {
		width: 100% !important;
	}
}

@media (max-width: 820px) {
	.blog-featured-inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.blog-featured-img {
		min-height: 200px;
	}

	.blog-related-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.blog-body-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.blog-sidebar {
		position: static;
		max-height: none;
		overflow: visible;
	}
}

@media (max-width: 600px) {
	.blog-post-grid-list {
		grid-template-columns: minmax(0, 1fr);
	}

	.ppwd-pagination {
		gap: .25rem;
	}

	.ppwd-pagination .prev,
	.ppwd-pagination .next {
		padding: 0;
	}

	.blog-pagination-label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}

	.blog-cta-title {
		font-size: 26px;
	}

	.blog-cta-text {
		font-size: 16px;
	}
}

@media (max-width: 500px) {
	#wrapper .blog-post-grid h2.h1 {
		font-size: 1.2rem !important;
	}

	#wrapper .blog-content h2:not([class*="-font-size"]) {
		font-size: 1.375rem !important;
	}

	#wrapper .blog-content h3:not([class*="-font-size"]) {
		font-size: 1.1875rem !important;
	}

	#wrapper .blog-content h4:not([class*="-font-size"]) {
		font-size: 1.0625rem !important;
	}

	#wrapper .blog-widget-title {
		font-size: 1.05rem !important;
	}

	#wrapper .blog-related-body h4 {
		font-size: 1rem !important;
		line-height: 1.25 !important;
	}
}
