/* === HD Blog: single-post presentation === */

/* --- top badge row --- */
.hd-post-badges {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0 0 28px;
}
.hd-post-chip {
	background: #16add0;
	color: #fff !important;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .6px;
	text-transform: uppercase;
	padding: 7px 14px;
	border-radius: 20px;
	text-decoration: none;
}
.hd-post-chip:hover {
	background: #1193b1;
}
.hd-post-readtime {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: rgba(22, 173, 208, 0.1);
	border: 1px solid rgba(22, 173, 208, 0.35);
	color: #0f7d97;
	font-size: 13.5px;
	font-weight: 600;
	padding: 6px 14px;
	border-radius: 20px;
}
.hd-post-readtime svg {
	display: block;
}
/* the clock quietly keeps time */
.hd-rt-minute {
	transform-origin: 12px 12px;
	animation: hd-rt-spin 12s linear infinite;
}
.hd-rt-hour {
	transform-origin: 12px 12px;
	animation: hd-rt-spin 144s linear infinite;
}
@keyframes hd-rt-spin {
	to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
	.hd-rt-minute, .hd-rt-hour { animation: none; }
}
.hd-post-date {
	color: #78909c;
	font-size: 13.5px;
	font-weight: 500;
}

/* --- section dividers: content headings get a teal keel line --- */
.single-post .post-content h3 {
	margin-top: 44px;
	padding-top: 26px;
	position: relative;
}
.single-post .post-content h3::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 1px;
	background: linear-gradient(90deg, rgba(38, 50, 56, 0.14), rgba(38, 50, 56, 0));
}
.single-post .post-content h3::after {
	content: '';
	position: absolute;
	top: -2px;
	left: 0;
	width: 56px;
	height: 4px;
	border-radius: 2px;
	background: linear-gradient(90deg, #16add0, #27c4e5);
}

/* pull-quote flavor for the italic outro lines */
.single-post .post-content > p > em:only-child {
	display: block;
	border-left: 4px solid #fcc943;
	background: rgba(252, 201, 67, 0.08);
	padding: 16px 20px;
	border-radius: 0 8px 8px 0;
	font-size: 17px;
	color: #37474f;
	margin-top: 34px;
}

/* --- infographic block --- */
.hd-infographic {
	margin: 40px 0;
}
.hd-infographic svg {
	width: 100%;
	height: auto;
	display: block;
}

/* --- related posts --- */
.hd-related {
	margin-top: 56px;
	border-top: 1px solid rgba(38, 50, 56, 0.12);
	padding-top: 34px;
}
.hd-related__title {
	font-size: 24px;
	margin: 0 0 22px;
}
.hd-related__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}
@media (max-width: 800px) {
	.hd-related__grid { grid-template-columns: 1fr; }
}
.hd-related__card {
	display: block;
	text-decoration: none;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 6px 22px rgba(15, 23, 28, 0.1);
	transition: transform .2s ease, box-shadow .2s ease;
}
.hd-related__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 30px rgba(15, 23, 28, 0.16);
}
.hd-related__card img {
	width: 100%;
	height: 150px;
	object-fit: cover;
	display: block;
}
.hd-related__meta {
	display: block;
	padding: 12px 16px 0;
	font-size: 12.5px;
	color: #78909c;
	font-weight: 500;
}
.hd-related__name {
	display: block;
	padding: 6px 16px 16px;
	font-size: 16px;
	font-weight: 700;
	color: #263238;
	line-height: 1.35;
}

/* hide any author info box on single posts (not part of this design) */
.single-post .fusion-author {
	display: none;
}
