/* Single-post hero: the banner (header.php) now carries the article title,
   date and share link, so the article starts straight under it — no title
   card between the banner and the body. */
.single-post .post-hero {
	padding-top: clamp(22px, 3vw, 38px);
	padding-bottom: clamp(22px, 3vw, 38px);
}

/* Light scrim over the shared banner artwork so the navy title stays readable
   (same trick .home-hero uses). Kept weak on the right so the photo still
   shows where there is no text. */
.single-post #bannerhome.post-hero {
	background-image:
		linear-gradient(90deg, rgba(214, 235, 241, 0.97) 0%, rgba(214, 235, 241, 0.93) 55%, rgba(214, 235, 241, 0.4) 100%),
		url(../images/hands-001.jpg);
	background-position: center, center right;
	background-size: cover, cover;
	background-repeat: no-repeat, no-repeat;
}

.webp .single-post #bannerhome.post-hero {
	background-image:
		linear-gradient(90deg, rgba(214, 235, 241, 0.97) 0%, rgba(214, 235, 241, 0.93) 55%, rgba(214, 235, 241, 0.4) 100%),
		url(../images/hands-001.webp);
}

.single-post .post-hero-inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}

/* The kicker reuses .entry-category; it only needs to not stretch. */
.single-post .post-hero-kicker {
	flex: 0 0 auto;
}

/* Beats `#bannerhome .text12` (id + class) — that rule is the 60px page title. */
.single-post #bannerhome .post-hero-title {
	margin: 0;
	max-width: 40em;
	color: #012061;
	font-size: clamp(1.4rem, 0.95rem + 1.7vw, 2.15rem);
	font-weight: 700;
	line-height: 1.34;
	letter-spacing: 0;
	text-shadow: none;
	text-wrap: balance;
}

.single-post #bannerhome .post-hero-meta {
	color: #3d4b5c;
	font-size: 13px;
}

.single-post .entry-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	color: #5b6b7b;
	font-size: 13px;
	line-height: 1.4;
}

.single-post .entry-category {
	display: inline-flex;
	align-items: center;
	padding: 4px 11px;
	border-radius: 999px;
	background: #012061;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.single-post .entry-category:hover {
	background: #791225;
	color: #fff;
}

/* Share link now sits on the date line, so it is sized like the category
   chip instead of being a 32px-tall button on its own row. */
.single-post .entry-meta .entry-share {
	display: inline-flex;
	align-items: center;
	line-height: 0;
}

.single-post .entry-meta .share-mail {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	/* Fixed height = the category chip's 25px, so the three items read as one
	   row of chips (padding-top/bottom would drift with the icon's box). */
	height: 25px;
	padding: 0 10px;
	border: 1px solid #b9d7e0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.8);
	color: #005e7a;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.single-post .entry-meta .share-mail:hover {
	background: #005e7a;
	border-color: #005e7a;
	color: #fff;
}

.single-post .entry-content {
	color: #2f3a4a;
	font-size: 16px;
}

.single-post .entry-content p {
	margin: 0 0 1.25em;
	color: #2f3a4a;
	font-size: 16px;
	text-align: justify;
}

.single-post .entry-content > p.article-lead {
	margin: 0 0 1.7em;
	padding: 18px 22px;
	background: #f7fbfd;
	border-left: 3px solid #ffb74d;
	border-radius: 0 7px 7px 0;
	color: #334e68;
	font-size: 17.5px;
	font-weight: 500;
	line-height: 1.85;
}

.single-post .entry-content a {
	color: #00708f;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.single-post .entry-content a:hover {
	color: #791225;
}

.single-post .entry-content strong {
	color: #012061;
	font-weight: 700;
}

.single-post .entry-content > h2 {
	margin: 1.6em 0 0.95em;
	padding: 0 0 0 10px;
	border-left: 4px solid #0081a9;
	border-bottom: 1px solid #d9e8ee;
	color: #012061;
	font-size: clamp(1.45rem, 1.15rem + 1vw, 1.95rem);
	font-weight: 700;
	letter-spacing: 0;
	text-wrap: balance;
}

.single-post .entry-content h3 {
	position: relative;
	margin: 1.8em 0 0.55em;
	padding-left: 15px;
	color: #005e7a;
	font-size: 1.08rem;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.55;
}

.single-post .entry-content h3::before {
	position: absolute;
	top: 0.58em;
	left: 0;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #ff9800;
	content: "";
}

.single-post .entry-content blockquote {
	position: relative;
	margin: 1em 0;
	padding: 10px 26px 5px 51px;
	background: #eef7fa;
	border: 0;
	border-left: 4px solid #0081a9;
	border-radius: 0 10px 10px 0;
	color: #1d3557;
}

.single-post .entry-content blockquote::before {
	position: absolute;
	top: 8px;
	left: 18px;
	color: #8fc6d8;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 54px;
	line-height: 1;
	content: "\201C";
}

.single-post .entry-content blockquote p {
	margin: 0;
	color: inherit;
	font-size: 16.5px;
	font-style: italic;
	line-height: 1.85;
	text-align: left;
}

.single-post .entry-content blockquote p:last-child {
	margin-top: 10px;
	color: #5b6b7b;
	font-size: 13.5px;
	font-style: normal;
	text-align: right;
}

.single-post .patent-video-figure {
	margin: 0 0 2.1em;
	overflow: hidden;
	background: #fff;
	border: 1px solid #d8eaf0;
	border-radius: 12px;
	box-shadow: 0 12px 30px rgba(1, 32, 97, 0.08);
}

.single-post .patent-video-figure a {
	display: block;
	text-decoration: none;
}

.single-post .patent-video-figure img {
	display: block;
	width: 100%;
	height: auto;
}

.single-post .patent-video-figure figcaption {
	padding: 10px 14px;
	background: #f7fbfd;
	color: #5b6b7b;
	font-size: 13px;
	line-height: 1.6;
}

.single-post .patent-video-figure figcaption a {
	color: #005e7a;
	font-weight: 600;
	text-decoration: none;
}

.single-post .entry-content .article-faq,
.single-post .entry-content .article-contact {
	scroll-margin-top: 110px;
}

.single-post .entry-content .article-faq {
	margin: 2.4em 0;
	padding: 4px 26px 10px;
	background: #f7fbfd;
	border: 1px solid #d8eaf0;
	border-radius: 12px;
}

.single-post .entry-content .article-faq > h2 {
	margin: 1.15em 0 0.8em;
	padding: 0 0 10px;
	border-left: 0;
	border-bottom: 1px solid #d8eaf0;
}

.single-post .entry-content .article-faq h3 {
	margin-top: 1.4em;
	color: #012061;
}

.single-post .entry-content .article-faq h3 + p {
	margin-bottom: 0;
	padding-bottom: 1.15em;
	border-bottom: 1px dashed #d8eaf0;
	font-size: 15.5px;
}

.single-post .entry-content .article-faq h3:last-of-type + p {
	padding-bottom: 0;
	border-bottom: 0;
}

.single-post .entry-content .article-contact {
	margin: 2.3em 0 2em;
	padding: 26px 30px;
	background: linear-gradient(135deg, #012061 0%, #083b7a 100%);
	border-left: 4px solid #ff9800;
	border-radius: 12px;
	box-shadow: 0 14px 34px rgba(1, 32, 97, 0.18);
	color: #eaf4ff;
}

.single-post .entry-content .article-contact p {
	margin: 0;
	color: #eaf4ff;
	font-size: 15.5px;
	line-height: 2;
	text-align: left;
}

.single-post .entry-content .article-contact strong {
	color: #ffd08a;
}

.single-post .entry-content .article-contact a {
	color: #fff;
	text-decoration-color: rgba(255, 255, 255, 0.45);
}

.single-post .entry-content .article-contact a:hover {
	color: #ffd08a;
}

@media only screen and (max-width: 767px) {
	/* Narrow screens: the title wraps over the artwork, so go nearly opaque. */
	.single-post #bannerhome.post-hero {
		background-image:
			linear-gradient(rgba(214, 235, 241, 0.95), rgba(214, 235, 241, 0.95)),
			url(../images/hands-001.jpg);
	}

	.webp .single-post #bannerhome.post-hero {
		background-image:
			linear-gradient(rgba(214, 235, 241, 0.95), rgba(214, 235, 241, 0.95)),
			url(../images/hands-001.webp);
	}

	.single-post #bannerhome .post-hero-title {
		font-size: 1.45rem;
		line-height: 1.4;
	}

	.single-post .entry-content p {
		font-size: 15.5px;
		line-height: 1.85;
	}

	.single-post .entry-content > p.article-lead {
		padding: 15px 17px;
		font-size: 16.5px;
	}

	.single-post .entry-content > h2 {
		font-size: 1.35rem;
	}

	.single-post .entry-content .article-faq {
		padding: 2px 16px 8px;
	}

	.single-post .entry-content .article-faq h3 + p {
		font-size: 15px;
	}

	.single-post .entry-content .article-contact {
		padding: 22px 20px;
	}

	.single-post .entry-content .article-contact p {
		font-size: 14.5px;
		line-height: 1.9;
	}
}

@media only screen and (max-width: 480px) {
	.single-post #bannerhome .post-hero-title {
		font-size: 1.32rem;
	}

	.single-post .entry-content blockquote {
		padding: 10px 18px 5px 44px;
	}

	.single-post .entry-content blockquote::before {
		left: 12px;
		font-size: 46px;
	}
}
