/**
 * Single post — Figma node 1310:8525.
 */

body.hypro-single-post,
body.hypro-default-page {
	background: #fff;
}

body.hypro-single-post #page.site,
body.hypro-default-page #page.site {
	max-width: none;
	width: 100%;
	padding: 0;
	margin: 0;
}

body.hypro-single-post .site-main,
body.hypro-default-page .site-main {
	padding: 0;
	width: 100%;
}

.hypro-single-post-main {
	overflow-x: hidden;
	--post-pad: clamp(1.25rem, 5.56vw, 5rem);
}

/* Hero header: body.hypro-unified-nav — inner-nav-unified.css */

/* ─── Hero (full-bleed bg; content matches .hypro-newsroom-content__inner — 80rem) ─ */
.hypro-post-hero {
	position: relative;
	height: var(--hypro-page-hero-height);
	min-height: unset;
	display: flex;
	align-items: center;
	padding: 0;
	overflow: hidden;
	background: #1a1e28;
}

.hypro-post-hero__bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.hypro-post-hero__gradient {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, #1a1e28 0%, #1f232d 100%);
}

.hypro-post-hero__glow {
	position: absolute;
	left: -20%;
	bottom: -40%;
	width: 70%;
	height: 90%;
	background: radial-gradient(ellipse at center, rgba(46, 196, 230, 0.22) 0%, transparent 65%);
	pointer-events: none;
}

.hypro-post-hero__container {
	position: relative;
	z-index: 2;
	max-width: 80rem;
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--post-pad);
	padding-right: var(--post-pad);
	width: 100%;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	min-height: 0;
	flex: 1;
}

.hypro-post-hero__inner {
	position: relative;
	width: 100%;
	min-width: 0;
}

.hypro-post-hero__meta {
	margin: 0 0 1.25rem;
	font-family: Inter, sans-serif;
	font-size: 0.875rem;
	line-height: 1.4;
	color: rgba(247, 247, 248, 0.72);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
}

.hypro-post-hero__meta-sep {
	opacity: 0.85;
}

.hypro-post-hero__title {
	margin: 0;
	font-family: Saira, Inter, sans-serif;
	font-weight: 500;
	font-size: clamp(1.75rem, 3.5vw, 2.75rem);
	line-height: 1.15;
	letter-spacing: -0.03em;
	color: #f7f7f8;
}

/* ─── Body + latest news ───────────────────────────────────────────────── */
.hypro-post-wrap {
	background: #f7f7f8;
	padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem);
}

.hypro-post-layout {
	max-width: 80rem;
	margin: 0 auto;
	padding-left: var(--post-pad);
	padding-right: var(--post-pad);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: clamp(2.5rem, 5vw, 3.5rem);
}

.hypro-post-body {
	font-family: Inter, sans-serif;
	font-size: 1rem;
	line-height: 1.65;
	color: #262a35;
	min-width: 0;
	width: 100%;
	background: #fff;
	padding: clamp(1.5rem, 3vw, 2.5rem);
	box-sizing: border-box;
}

.hypro-post-body > *:first-child {
	margin-top: 0;
}

.hypro-post-body h2,
.hypro-post-body h3 {
	font-family: Saira, Inter, sans-serif;
	font-weight: 600;
	color: #1a1e28;
	line-height: 1.3;
	margin-top: 1.75rem;
	margin-bottom: 1rem;
}

.hypro-post-body p {
	margin: 0 0 1rem;
}

.hypro-post-body a {
	color: #0b9cbc;
}

.hypro-page-featured {
	margin: 0 0 1.5rem;
}

.hypro-page-featured img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 4px;
}

.hypro-post-body blockquote {
	margin: 2rem 0;
	padding: 0.25rem 0 0.25rem 1.25rem;
	border-left: 3px solid #2ec4e6;
	color: #3d4654;
	font-size: 1.0625rem;
	font-style: italic;
	line-height: 1.65;
}

.hypro-post-body blockquote p {
	margin: 0 0 0.5rem;
}

.hypro-post-body blockquote p:last-child {
	margin-bottom: 0;
}

.hypro-post-body blockquote cite {
	display: block;
	margin-top: 0.625rem;
	font-style: normal;
	font-size: 0.875rem;
	font-weight: 600;
	color: #262a35;
}

/* Tags + author (core blocks & common author-box plugins) */
.hypro-post-body .wp-block-post-terms {
	margin-top: clamp(1.25rem, 2.5vw, 1.75rem);
	margin-bottom: clamp(2rem, 3.5vw, 2.75rem);
}

.hypro-post-body .wp-block-post-author {
	align-items: flex-start;
	margin-top: clamp(1.5rem, 2.5vw, 2.25rem);
}

.hypro-post-body .wp-block-post-terms + .wp-block-post-author {
	margin-top: 0;
}

.hypro-post-body .wp-block-post-author__avatar {
	margin-right: clamp(1.25rem, 2.5vw, 1.75rem);
	flex-shrink: 0;
}

.hypro-post-body .wp-block-post-author__avatar img,
.hypro-post-body .wp-block-post-author__avatar .avatar,
.hypro-post-body .wp-block-avatar img,
.hypro-post-body .wp-block-avatar__image,
.hypro-post-body .saboxplugin-wrap .saboxplugin-gravatar img,
.hypro-post-body .mab-box .mab-img img {
	width: 60px !important;
	height: auto !important;
	max-width: 60px;
	border-radius: 10px;
	object-fit: cover;
}

.hypro-post-body .wp-block-avatar {
	margin-right: clamp(1.25rem, 2.5vw, 1.75rem);
}

.hypro-post-body .saboxplugin-wrap {
	margin-top: clamp(1.5rem, 2.5vw, 2.25rem);
}

.hypro-post-body .wp-block-post-terms + .saboxplugin-wrap,
.hypro-post-body .wp-block-post-terms + .wp-block-group {
	margin-top: 0;
}

.hypro-post-body .saboxplugin-wrap .saboxplugin-gravatar {
	margin-right: clamp(1.25rem, 2.5vw, 1.75rem) !important;
}

.hypro-post-body .saboxplugin-wrap .saboxplugin-gravatar img {
	display: block;
}

.hypro-post-latest {
	width: 100%;
	min-width: 0;
}

.hypro-post-latest__title {
	margin: 0 0 1.25rem;
	font-family: Saira, Inter, sans-serif;
	font-weight: 600;
	font-size: clamp(1.25rem, 2vw, 1.5rem);
	line-height: 1.3;
	color: #1a1e28;
}

/* Match Newsroom archive cards (home.css + newsroom.css) */
.hypro-post-latest__list.news__list.hypro-newsroom__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1rem, 2.5vw, 1.5rem);
	margin: 0;
	border: none;
	background: transparent;
}

.hypro-post-latest__list .news-item {
	border: 1px solid rgba(26, 30, 40, 0.08);
	background: #fff;
}

.hypro-post-latest__list .news-item:first-child {
	border-top: 1px solid rgba(26, 30, 40, 0.08);
}

@media (max-width: 640px) {
	.hypro-post-latest__list.news__list.hypro-newsroom__list {
		grid-template-columns: 1fr;
	}
}

/* ─── Accordions ───────────────────────────────────────────────────────── */
.hypro-post-accordions {
	background: #1a1e28;
	padding: clamp(2.5rem, 5vw, 4rem) var(--post-pad);
}

.hypro-post-accordions__inner {
	max-width: 80rem;
	margin: 0 auto;
	padding-left: var(--post-pad);
	padding-right: var(--post-pad);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.hypro-post-accordion {
	border-bottom: 1px solid rgba(123, 140, 167, 0.25);
}

.hypro-post-accordion:first-of-type {
	border-top: 1px solid rgba(123, 140, 167, 0.25);
}

.hypro-post-accordion__summary {
	list-style: none;
	cursor: pointer;
	padding: 1.25rem 0;
	font-family: Saira, Inter, sans-serif;
	font-weight: 500;
	font-size: 1.0625rem;
	color: #f7f7f8;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.hypro-post-accordion__summary::-webkit-details-marker {
	display: none;
}

.hypro-post-accordion__summary::after {
	content: '';
	width: 14px;
	height: 14px;
	flex-shrink: 0;
	background:
		linear-gradient(#bdc2cc, #bdc2cc) center/14px 2px no-repeat,
		linear-gradient(#bdc2cc, #bdc2cc) center/2px 14px no-repeat;
	transition: background 0.2s ease;
}

.hypro-post-accordion[open] .hypro-post-accordion__summary::after {
	background: linear-gradient(#2ec4e6, #2ec4e6) center/14px 2px no-repeat;
}

.hypro-post-accordion__content {
	padding: 0 0 1.5rem;
	font-family: Inter, sans-serif;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: #dbdde1;
}

.hypro-post-accordion__content p {
	margin: 0 0 0.75rem;
}

@media print {
	body.hypro-single-post .site-header--hero,
	body.hypro-default-page .site-header--hero,
	.hypro-post-latest,
	.hypro-post-accordions {
		display: none !important;
	}

	.hypro-post-hero {
		padding-top: 1rem;
		background: #fff;
	}

	.hypro-post-hero__title,
	.hypro-post-hero__meta {
		color: #000 !important;
	}
}
