/* Static-mirror: Divi Salvattore / waypoint / preload hide content until JS runs. */
.et_pb_blog_grid .et_pb_salvattore_content[data-columns] .et_pb_post,
.et_pb_salvattore_content .et_pb_post {
  opacity: 1 !important;
  visibility: visible !important;
}
.et-waypoint:not(.et_pb_counters),
.et-waypoint {
  opacity: 1 !important;
  visibility: visible !important;
}
.et_pb_preload > div,
.et_pb_preload .et_pb_section_video_bg {
  visibility: visible !important;
}
.et_pb_blog_grid .et_pb_salvattore_content[data-columns] > .et_pb_post {
  display: inline-block;
  vertical-align: top;
  width: 31%;
  max-width: 100%;
  margin: 0 1% 24px;
}
@media (max-width: 980px) {
  .et_pb_blog_grid .et_pb_salvattore_content[data-columns] > .et_pb_post { width: 47%; }
}
@media (max-width: 767px) {
  .et_pb_blog_grid .et_pb_salvattore_content[data-columns] > .et_pb_post { width: 100%; margin-left: 0; margin-right: 0; }
}

/* Search is not wired on the static mirrors */
#et_top_search, .et_search_outer, #sidebar .widget_search, #sidebar .wp-block-search { display: none !important; }

/* Recent posts: Bootstrap 5 list-group markup, styled here so Divi stays intact until the full framework is loaded. */
#sidebar .hfg-recent {
	background: #fff;
	border: 1px solid #e4e9ec;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(16, 42, 67, 0.04);
}
#sidebar .hfg-recent-title {
	margin: 0;
	padding: 14px 16px 12px;
	background: #fff;
	border-bottom: 1px solid #eef2f4;
	font-size: 12px;
	line-height: 1.2;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 700;
	color: #5d6d76;
}
#sidebar .hfg-recent .list-group-item {
	display: block;
	border: 0;
	border-bottom: 1px solid #f1f4f6;
	border-radius: 0;
	padding: 12px 16px 13px;
	background: #fff;
	color: #1e2a32;
	font-size: 14px;
	line-height: 1.4;
	font-weight: 600;
	text-decoration: none;
}
#sidebar .hfg-recent .list-group-item:last-child {
	border-bottom: 0;
}
#sidebar .hfg-recent .list-group-item:hover,
#sidebar .hfg-recent .list-group-item:focus {
	background: #f3fafb;
	color: #0c7490;
}
#sidebar .hfg-recent .list-group-item.active {
	background: #f3fafb;
	color: #0c7490;
	box-shadow: inset 3px 0 0 #2ea3f2;
}

/* Archive featured images are square files. Show them in the same 8:5
   frame as the other posts instead of a full-column square. */
body.archive .et_pb_post .entry-featured-image-url img {
	width: 100%;
	height: auto;
	aspect-ratio: 8 / 5;
	object-fit: cover;
	object-position: center;
	display: block;
}

body.et_fixed_nav.et_show_nav #page-container {
	padding-top: 72px !important;
}

.hfg-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100002;
	height: 72px;
	background: #fff;
	border-bottom: 1px solid #e6eef2;
}
.hfg-header-inner {
	max-width: 1140px;
	height: 72px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.hfg-logo {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
}
.hfg-logo img {
	display: block;
	height: 46px;
	width: auto;
}
.hfg-nav {
	display: flex;
	align-items: center;
	gap: 4px;
}
.hfg-nav a {
	color: #1e2a32;
	text-decoration: none;
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.25;
	padding: 8px 12px;
	border-radius: 999px;
	white-space: nowrap;
}
.hfg-nav a:hover,
.hfg-nav a:focus-visible {
	background: #f3fafb;
	color: #0c7490;
}
.hfg-nav a[aria-current="page"] {
	background: #e7f6fb;
	color: #0b6f8a;
}
.hfg-burger {
	display: none;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 1px solid #d5e0e6;
	border-radius: 12px;
	background: #fff;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
	cursor: pointer;
}
.hfg-burger span {
	display: block;
	width: 18px;
	height: 2px;
	border-radius: 2px;
	background: #16303a;
	transition: transform .18s ease, opacity .18s ease;
}
.hfg-header.is-open .hfg-burger span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}
.hfg-header.is-open .hfg-burger span:nth-child(2) {
	opacity: 0;
}
.hfg-header.is-open .hfg-burger span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1100px) {
	.hfg-burger {
		display: inline-flex;
	}
	.hfg-nav {
		display: none;
		position: absolute;
		top: 72px;
		left: 0;
		right: 0;
		padding: 8px 12px 16px;
		background: #fff;
		border-bottom: 1px solid #e6eef2;
		box-shadow: 0 18px 40px rgba(16, 36, 48, .12);
		flex-direction: column;
		align-items: stretch;
		gap: 4px;
	}
	.hfg-header.is-open .hfg-nav {
		display: flex;
	}
	.hfg-nav a {
		font-size: 16px;
		padding: 14px 16px;
		border-radius: 12px;
		white-space: normal;
	}
}

.hfg-footer {
	border-top: 1px solid #e6eef2;
	background: #fff;
	color: #5d6d76;
	padding: 22px 20px 28px;
}
.hfg-footer-inner {
	max-width: 1140px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px 28px;
	flex-wrap: wrap;
}
.hfg-footer p {
	margin: 0;
	font-size: 14px;
}
.hfg-footer nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
}
.hfg-footer a {
	color: #31424b;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
}
.hfg-footer a:hover,
.hfg-footer a:focus-visible {
	color: #0c7490;
}

.hfg-hero {
	background-image: radial-gradient(circle at top right, #0c71c3 19%, rgba(1, 77, 183, 0.9) 100%);
	color: #fff;
}
.hfg-hero-inner {
	width: 80%;
	max-width: 1080px;
	margin: 0 auto;
	padding: 28px 0 34px;
}
.hfg-hero h1 {
	margin: 0;
	padding: 0;
	color: #fff !important;
	font-family: Montserrat, "Open Sans", Arial, sans-serif;
	font-size: 44px;
	font-weight: 700;
	line-height: 1.2;
}
.hfg-hero p {
	margin: 8px 0 0;
	max-width: 780px;
	color: rgba(255, 255, 255, 0.82);
	font-family: Montserrat, "Open Sans", Arial, sans-serif;
	font-size: 20px;
	line-height: 1.5;
}
.hfg-hero + .et_pb_section {
	padding-top: 36px;
}
.hfg-grid-wrap {
	margin: 8px 0 10px;
}
.hfg-grid-head {
	max-width: 720px;
	margin: 8px auto 28px;
	text-align: center;
}
.hfg-grid-head h1 {
	margin: 0 0 8px;
	color: #16303a;
	font-size: 40px;
	line-height: 1.15;
	font-weight: 700;
}
.hfg-grid-head p {
	margin: 0;
	color: #5d6d76;
	font-size: 17px;
	line-height: 1.5;
}
.hfg-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}
.hfg-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: #fff;
	border: 1px solid #e3ebef;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 10px 28px rgba(16, 36, 48, .05);
}
.hfg-card-media {
	display: block;
	aspect-ratio: 8 / 5;
	background: #eef4f6;
	overflow: hidden;
}
.hfg-card-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.hfg-card-body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
	padding: 16px 18px 18px;
}
.hfg-card-body h2 {
	margin: 0;
	font-size: 18px;
	line-height: 1.35;
	font-weight: 700;
}
.hfg-card-body h2 a {
	color: #16303a;
	text-decoration: none;
}
.hfg-card-body h2 a:hover,
.hfg-card-body h2 a:focus-visible {
	color: #0c7490;
}
.hfg-card-body p {
	margin: 0;
	color: #5c6c76;
	font-size: 14.5px;
	line-height: 1.55;
}
.hfg-card-more {
	margin-top: auto;
	color: #0c7490;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}
.hfg-card-more:hover,
.hfg-card-more:focus-visible {
	text-decoration: underline;
}
.hfg-pager {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 28px;
	flex-wrap: wrap;
}
.hfg-pager ol {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.hfg-pager a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid #d7e2e7;
	border-radius: 999px;
	background: #fff;
	color: #1e2a32;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
}
.hfg-pager a[aria-current="page"] {
	background: #0c7490;
	border-color: #0c7490;
	color: #fff;
}
.hfg-pager a:hover,
.hfg-pager a:focus-visible {
	border-color: #0c7490;
	color: #0c7490;
}
.hfg-pager a[aria-current="page"]:hover,
.hfg-pager a[aria-current="page"]:focus-visible {
	color: #fff;
}
.hfg-grid-wrap[aria-busy="true"] .hfg-grid,
.hfg-grid-wrap[aria-busy="true"] .hfg-pager {
	opacity: .45;
	pointer-events: none;
}
.hfg-postnav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin: 28px 0 6px;
}
.hfg-postnav a {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
	padding: 14px 16px;
	border: 1px solid #d7e2e7;
	border-radius: 14px;
	background: #fff;
	text-decoration: none;
}
.hfg-postnav a:hover,
.hfg-postnav a:focus-visible {
	border-color: #0c7490;
}
.hfg-postnav-older {
	grid-column: 2;
	text-align: right;
}
.hfg-postnav span {
	color: #0c7490;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}
.hfg-postnav strong {
	color: #16303a;
	font-size: 15px;
	line-height: 1.35;
	font-weight: 700;
}
@media (max-width: 640px) {
	.hfg-postnav {
		grid-template-columns: 1fr;
	}
	.hfg-postnav-older {
		grid-column: auto;
		text-align: left;
	}
}

@media (max-width: 980px) {
	.hfg-grid {
		grid-template-columns: 1fr 1fr;
	}
	.hfg-grid-head h1 {
		font-size: 32px;
	}
	.hfg-hero h1 {
		font-size: 32px;
	}
	.hfg-hero p {
		font-size: 17px;
	}
}
@media (max-width: 640px) {
	.hfg-grid {
		grid-template-columns: 1fr;
	}
	.hfg-footer-inner {
		align-items: flex-start;
	}
}

body.archive #left-area > article.et_pb_post {
	border: 1px solid #d5e0e6;
	border-top: 3px solid #2ea3f2;
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 8px 24px rgba(16, 36, 48, .05);
	margin: 0 0 28px;
	padding: 0 22px 20px;
}
body.archive #left-area > article.et_pb_post .entry-featured-image-url {
	display: block;
	margin: 0 -22px 18px;
}
body.archive #left-area > article.et_pb_post .entry-title {
	margin: 0 0 8px;
	font-size: 26px;
	line-height: 1.25;
}
body.archive #left-area > article.et_pb_post .entry-title a {
	color: #16303a;
}
body.archive #left-area > article.et_pb_post .post-meta {
	margin: 0 0 10px;
	color: #6b7c86;
}
