:root {
	--hd-blog-blue: #001f55;
	--hd-blog-blue-2: #06336f;
	--hd-blog-gold: #d39a2f;
	--hd-blog-text: #12264a;
	--hd-blog-muted: #4c5b72;
	--hd-blog-bg: #f5f7fb;
	--hd-blog-line: #dfe7f2;
}

.hd-blog-page {
	background: #fff;
	color: var(--hd-blog-text);
}

.hd-blog-page .row {
	max-width: 1240px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 0;
}

.hd-blog-hero-row {
	max-width: 100% !important;
	margin: 0;
}

.hd-blog-hero-col {
	padding: 0 !important;
}

.hd-blog-hero {
	position: relative;
	min-height: 360px;
	background-position: center;
	background-size: cover;
}

.hd-blog-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0, 31, 85, 0.94) 0%, rgba(0, 31, 85, 0.76) 50%, rgba(0, 31, 85, 0.24) 100%);
	pointer-events: none;
}

.hd-blog-hero .text-box {
	left: calc((100% - 1240px) / 2) !important;
	right: auto !important;
	transform: translate(0, -50%) !important;
}

.hd-blog-kicker {
	margin: 0 0 10px !important;
	color: var(--hd-blog-gold) !important;
	font-size: 14px !important;
	line-height: 1.45 !important;
	font-weight: 800 !important;
	letter-spacing: 0;
	text-transform: uppercase;
}

.hd-blog-hero h1 {
	margin: 0 0 16px !important;
	color: #fff !important;
	font-size: 44px !important;
	line-height: 1.22 !important;
	font-weight: 800 !important;
	letter-spacing: 0;
	text-transform: uppercase;
	text-wrap: balance;
}

.hd-blog-hero p:not(.hd-blog-kicker) {
	max-width: 620px;
	margin: 0;
	color: rgba(255, 255, 255, 0.9);
	font-size: 17px;
	line-height: 1.65;
}

.hd-blog-filter-row {
	position: relative;
	z-index: 2;
	margin-top: -34px;
	padding: 20px 38px;
	background: #fff;
	border: 1px solid var(--hd-blog-line);
	border-radius: 8px;
	box-shadow: 0 14px 34px rgba(10, 35, 75, 0.08);
	display: flex;
	align-items: center;
	min-height: auto;
}

.hd-blog-filter-row > .col {
	display: flex;
	align-items: center;
	padding-bottom: 0;
}

.hd-blog-filter-row > .col > .col-inner {
	width: 100%;
}

.hd-blog-topic-list .col-inner,
.hd-blog-topic-list ul {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	width: 100%;
}

.hd-blog-topic-list ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hd-blog-topic-list li {
	margin: 0;
	padding: 0;
}

.hd-blog-topic-list,
.hd-blog-search {
	display: flex;
	align-items: center;
}

.hd-blog-topic-list {
	justify-content: flex-start;
}

.hd-blog-search {
	justify-content: flex-end;
}

.hd-blog-topic-list a {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 0 15px;
	border: 1px solid #d9e3f1;
	border-radius: 999px;
	color: var(--hd-blog-blue);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.hd-blog-topic-list a:hover {
	background: var(--hd-blog-blue);
	border-color: var(--hd-blog-blue);
	color: #fff;
}

.hd-blog-search .col-inner {
	display: flex;
	justify-content: flex-end;
}

.hd-blog-search .searchform-wrapper,
.hd-blog-search form {
	position: relative;
	width: min(100%, 410px);
	margin: 0 0 0 auto !important;
}

.hd-blog-search .searchform,
.hd-blog-search form {
	height: 46px;
}

.hd-blog-search .searchform .flex-row,
.hd-blog-search form {
	position: relative;
	display: block;
}

.hd-blog-search .searchform .flex-col {
	display: block;
}

.hd-blog-search .searchform .flex-col.flex-grow {
	width: 100%;
}

.hd-blog-search .searchform .flex-col:last-child {
	position: absolute;
	top: 0;
	right: 0;
	width: 46px;
	height: 46px;
}

.hd-blog-search input,
.hd-blog-search input[type="search"],
.hd-blog-search .search-field {
	width: 100%;
	height: 46px !important;
	margin: 0 !important;
	padding: 0 58px 0 18px !important;
	border: 1px solid #d9dde6 !important;
	border-radius: 0 !important;
	background: #fff !important;
	color: var(--hd-blog-text) !important;
	font-size: 16px;
	line-height: 46px !important;
	box-shadow: inset 0 1px 2px rgba(8, 34, 73, 0.03) !important;
}

.hd-blog-search input::placeholder {
	color: #858585;
	opacity: 1;
}

.hd-blog-search input:focus {
	border-color: var(--hd-blog-gold);
	box-shadow: 0 0 0 3px rgba(211, 154, 47, 0.14);
	outline: none;
}

.hd-blog-search button,
.hd-blog-search button[type="submit"],
.hd-blog-search .ux-search-submit,
.hd-blog-search .submit-button {
	position: absolute;
	right: 0;
	top: 0;
	transform: none;
	width: 46px !important;
	min-width: 46px;
	height: 46px !important;
	min-height: 46px;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 50%;
	background: var(--hd-blog-gold) !important;
	color: #fff !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 !important;
	font-size: 17px;
	line-height: 1;
	box-shadow: 0 4px 12px rgba(211, 154, 47, 0.24);
}

.hd-blog-search button:hover,
.hd-blog-search .ux-search-submit:hover,
.hd-blog-search .submit-button:hover {
	background: #bd8424 !important;
	color: #fff !important;
}

.hd-blog-featured-head-row {
	padding: 56px 0 22px;
}

.hd-blog-featured-head-row h2,
.hd-blog-section-title h2 {
	margin: 0;
	color: var(--hd-blog-blue);
	font-size: 34px;
	line-height: 1.2;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0;
}

.hd-blog-featured-row {
	padding-bottom: 34px;
}

.hd-blog-page .box {
	border: 1px solid var(--hd-blog-line);
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 10px 28px rgba(8, 34, 73, 0.06);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hd-blog-page .box:hover {
	transform: translateY(-3px);
	box-shadow: 0 18px 34px rgba(8, 34, 73, 0.1);
}

.hd-blog-page .box-image img {
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.hd-blog-page .box-text {
	padding: 16px 16px 18px;
}

.hd-blog-page .post-title a {
	color: var(--hd-blog-blue);
	font-weight: 800;
	line-height: 1.35;
	text-decoration: none;
}

.hd-blog-page .post-meta {
	color: var(--hd-blog-gold);
	font-size: 13px;
	font-weight: 700;
}

.hd-blog-page .from_the_blog_excerpt {
	color: var(--hd-blog-muted);
	font-size: 15px;
	line-height: 1.62;
}

.hd-blog-content-row {
	padding: 34px 0 64px;
	background: linear-gradient(180deg, #fff 0%, var(--hd-blog-bg) 100%);
}

.hd-blog-section-title {
	margin-bottom: 22px;
}

.hd-blog-sidebar .col-inner {
	position: sticky;
	top: 24px;
	display: grid;
	gap: 18px;
}

.hd-blog-widget {
	padding: 22px;
	border: 1px solid var(--hd-blog-line);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 10px 26px rgba(8, 34, 73, 0.05);
}

.hd-blog-widget h3 {
	margin: 0 0 14px;
	color: var(--hd-blog-blue);
	font-size: 19px;
	font-weight: 800;
	text-transform: uppercase;
}

.hd-blog-widget p {
	margin: 0 0 12px;
	color: var(--hd-blog-muted);
	font-size: 15px;
	line-height: 1.62;
}

.hd-blog-widget a {
	color: var(--hd-blog-blue);
	font-weight: 700;
	text-decoration: none;
}

.hd-blog-consult {
	background: linear-gradient(135deg, var(--hd-blog-blue), var(--hd-blog-blue-2));
	color: #fff;
}

.hd-blog-consult h3,
.hd-blog-consult p,
.hd-blog-consult a {
	color: #fff;
}

.hd-blog-consult a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 6px;
	color: var(--hd-blog-gold);
}

@media (max-width: 1100px) {
	.hd-blog-page .row {
		max-width: 94%;
	}

	.hd-blog-hero .text-box {
		left: 4% !important;
	}
}

@media (max-width: 849px) {
	.hd-blog-hero {
		min-height: 320px;
	}

	.hd-blog-hero h1 {
		font-size: 35px !important;
		line-height: 1.24 !important;
	}

	.hd-blog-filter-row {
		margin-top: -22px;
		padding: 16px;
	}

	.hd-blog-search {
		margin-top: 12px;
	}

	.hd-blog-search .searchform-wrapper,
	.hd-blog-search form {
		width: 100%;
		max-width: 100%;
		margin-left: 0 !important;
	}

	.hd-blog-featured-head-row {
		padding-top: 42px;
	}

	.hd-blog-sidebar .col-inner {
		position: static;
		margin-top: 28px;
	}
}

@media (max-width: 549px) {
	.hd-blog-page .row {
		max-width: calc(100% - 24px);
	}

	.hd-blog-hero {
		min-height: 300px;
	}

	.hd-blog-hero h1 {
		font-size: 29px !important;
		line-height: 1.28 !important;
	}

	.hd-blog-hero p:not(.hd-blog-kicker) {
		font-size: 15px;
	}

	.hd-blog-topic-list .col-inner {
		gap: 8px;
	}

	.hd-blog-topic-list ul {
		gap: 8px;
	}

	.hd-blog-topic-list a {
		min-height: 34px;
		padding: 0 12px;
		font-size: 13px;
	}

	.hd-blog-featured-head-row h2,
	.hd-blog-section-title h2 {
		font-size: 26px;
	}

	.hd-blog-content-row {
		padding-bottom: 44px;
	}
}
