/* Single-post, project, person and vacancy detail layouts. */

/* Single-detail sheets and sidebar components */

.bhv-detail-sheet {
	overflow: hidden;
	border: 0;
	border-radius: 4px;
	background: var(--bhv-card-surface);
	box-shadow: var(--bhv-shadow-card);
}

.bhv-detail-sheet__header {
	padding: clamp(28px, 4vw, 48px) clamp(24px, 4.5vw, 56px) 0;
}

.bhv-detail-sheet__header .bhv-eyebrow {
	margin-bottom: var(--bhv-space-2);
}

.bhv-detail-sheet__header h1 {
	margin: 0;
	color: var(--bhv-ink);
	font-size: clamp(2.5rem, 5vw, 4.5rem);
	font-weight: 680;
	letter-spacing: -0.045em;
	line-height: 0.98;
	text-wrap: balance;
}

.bhv-detail-sheet .bhv-single-content.bhv-card {
	background: transparent;
}

.bhv-detail-sheet .bhv-single-content__copy {
	max-width: none;
	padding: clamp(24px, 3vw, 40px) clamp(24px, 4.5vw, 56px);
	padding-bottom: 12px;
}

.bhv-detail-sheet .bhv-prose > :where(p, ul, ol, blockquote) {
	max-width: none;
}

.bhv-detail-sheet .bhv-single-content__copy p {
	text-align: justify;
	text-justify: inter-word;
	line-height: 1.62;
}

.bhv-project-sheet .bhv-single-content__copy > p:first-child {
	margin: 0 0 var(--bhv-space-4);
	color: var(--bhv-ink);
	font-size: clamp(1.08rem, 1.5vw, 1.25rem);
	font-weight: 650;
	line-height: 1.5;
}

.bhv-detail-sheet__footer {
	display: flex;
	flex-wrap: wrap;
	gap: var(--bhv-space-3);
	align-items: center;
	justify-content: flex-start;
	padding: 0 clamp(24px, 4.5vw, 56px) 24px;
	border-top: 0;
}

.bhv-detail-sheet__footer .navigation.post-navigation {
	margin: 0;
	padding: 0;
	border: 0;
}

.bhv-detail-sheet__footer .navigation.post-navigation a {
	margin-left: 0;
	padding-left: 0;
}

.bhv-single-content .bhv-single-content__inner {
	padding: 0;
}

.bhv-single-content p,
.bhv-single-content li {
	font-size: 1.04rem;
	line-height: 1.72;
}

.bhv-single-content img.attachment-post-thumbnail {
	width: 100%;
	margin-bottom: 34px;
	border-radius: var(--bhv-radius-lg);
}

.bhv-detail-sheet__header .bhv-person-category {
	max-width: 48rem;
	margin: 0 0 var(--bhv-space-2);
	color: var(--bhv-muted);
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1.4;
	text-transform: none;
}

.bhv-detail-sheet__header .bhv-person-title {
	max-width: 48rem;
	margin: var(--bhv-space-4) 0 0;
	color: var(--bhv-primary-hover);
	font-size: clamp(1rem, 1.45vw, 1.18rem);
	font-weight: 650;
	letter-spacing: 0;
	line-height: 1.4;
	text-transform: none;
	text-wrap: balance;
}

.bhv-person-projects {
	width: 100%;
	max-width: 900px;
	margin-top: clamp(42px, 5vw, 64px);
}

.bhv-person-projects__heading {
	margin: 0 0 22px;
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 650;
	letter-spacing: -0.03em;
	line-height: 1.15;
}

.bhv-person-projects__heading::before {
	display: block;
	width: 24px;
	height: 4px;
	margin-bottom: 14px;
	border-radius: var(--bhv-radius-pill);
	background: var(--bhv-wave-purple);
	content: "";
}

.bhv-detail-sheet .bhv-person-projects__list {
	display: grid;
	width: 100%;
	max-width: 900px;
	margin: 0;
	padding: 0;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	list-style: none;
}

.bhv-person-projects__item {
	min-width: 0;
	margin: 0;
	font-size: inherit;
	line-height: normal;
}

.bhv-mobile-detail-summary,
.bhv-detail-info-scrim,
.bhv-detail-info-sheet__header {
	display: none;
}

.bhv-detail-info-sheet__content {
	min-width: 0;
}

@media (max-width: 1023px) {
	/* Reserve the final layout before the detail sheet initializes. */
	.bhv-mobile-detail-summary {
		display: grid;
		visibility: hidden;
		width: 100%;
		min-height: 88px;
		margin: 24px 0 0;
		padding: 8px 10px;
		grid-template-columns: 72px minmax(0, 1fr) 44px;
		gap: 12px;
		align-items: center;
		border: 0;
		border-radius: 24px;
		background: var(--bhv-primary-container);
		box-shadow: none;
		color: var(--bhv-ink);
		font: inherit;
		text-align: left;
		cursor: pointer;
		transition:
			background-color var(--bhv-motion),
			transform var(--bhv-motion);
	}

	body.bhv-detail-sheet-ready .bhv-mobile-detail-summary {
		visibility: visible;
	}

	body.bhv-detail-sheet-ready .bhv-mobile-detail-summary:hover,
	body.bhv-detail-sheet-ready .bhv-mobile-detail-summary:focus-visible {
		background: color-mix(in srgb, var(--bhv-primary-container) 84%, var(--bhv-primary) 16%);
	}

	body.bhv-detail-sheet-ready .bhv-mobile-detail-summary:active {
		transform: scale(0.985);
	}

	.bhv-mobile-detail-summary__media {
		display: grid;
		overflow: hidden;
		width: 72px;
		height: 64px;
		padding: 7px;
		border-radius: 18px;
		background: var(--bhv-surface-bright);
		place-items: center;
	}

	.bhv-mobile-detail-summary__media--person {
		height: 72px;
		padding: 0;
		border-radius: 22px;
	}

	.bhv-mobile-detail-summary__media img {
		display: block;
		width: 100%;
		height: 100%;
		margin: 0;
		border-radius: 0;
		object-fit: contain;
	}

	.bhv-mobile-detail-summary__media--person img {
		object-fit: cover;
		object-position: center top;
	}

	.bhv-mobile-detail-summary__copy {
		display: grid;
		min-width: 0;
		gap: 4px;
	}

	.bhv-mobile-detail-summary__title {
		font-size: 1rem;
		font-weight: 750;
		letter-spacing: -0.01em;
		line-height: 1.2;
	}

	.bhv-mobile-detail-summary__supporting {
		display: -webkit-box;
		overflow: hidden;
		color: var(--bhv-muted);
		font-size: 0.82rem;
		font-weight: 550;
		line-height: 1.35;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
	}

	.bhv-mobile-detail-summary__action,
	.bhv-detail-info-sheet__close {
		display: grid;
		width: 44px;
		height: 44px;
		flex: 0 0 44px;
		border: 0;
		border-radius: 50%;
		background: var(--bhv-primary);
		color: var(--bhv-on-primary, #ffffff);
		font-size: 1.1rem;
		place-items: center;
	}

	body.bhv-detail-sheet-ready .bhv-detail-info-scrim {
		position: fixed;
		z-index: 1003;
		inset: 0;
		display: block;
		visibility: hidden;
		padding: 0;
		border: 0;
		background: rgb(20 24 32 / 52%);
		opacity: 0;
		pointer-events: none;
	}

	body.single-person .bhv-single-layout__sidebar,
	body.single-project .bhv-single-layout__sidebar {
		position: fixed;
		z-index: 1004;
		bottom: -16px;
		left: 50%;
		display: flex;
		visibility: hidden;
		width: min(100%, 42rem);
		max-height: calc(82dvh + 16px);
		margin: 0;
		padding: 0 0 calc(16px + env(safe-area-inset-bottom));
		flex-direction: column;
		border-radius: 30px 30px 0 0;
		background: var(--bhv-surface-bright);
		box-shadow: 0 -8px 32px rgb(18 24 34 / 20%);
		opacity: 0;
		transform: translate(-50%, 105%);
		pointer-events: none;
	}

	body.bhv-detail-sheet-animated .bhv-detail-info-scrim {
		transition:
			opacity 220ms ease,
			visibility 0s linear 220ms;
	}

	body.bhv-detail-sheet-animated .bhv-single-layout__sidebar {
		transition:
			opacity 220ms ease,
			transform 360ms cubic-bezier(0.2, 0, 0, 1),
			visibility 0s linear 360ms;
	}

	body.bhv-detail-sheet-open {
		overflow: hidden;
	}

	body.bhv-detail-sheet-open .bhv-detail-info-scrim {
		visibility: visible;
		opacity: 1;
		pointer-events: auto;
		transition-delay: 0s;
	}

	body.bhv-detail-sheet-open .bhv-single-layout__sidebar {
		visibility: visible;
		opacity: 1;
		transform: translate(-50%, 0);
		pointer-events: auto;
		transition-delay: 0s;
	}

	.bhv-detail-info-sheet__header {
		transition-property: none;
		position: relative;
		display: grid;
		min-height: 84px;
		padding: 28px 20px 10px 24px;
		grid-template-columns: minmax(0, 1fr) 44px;
		gap: 16px;
		align-items: center;
	}

	.bhv-detail-info-sheet__handle {
		position: absolute;
		top: 12px;
		left: 50%;
		width: 48px;
		height: 5px;
		border-radius: var(--bhv-radius-pill);
		background: var(--bhv-outline-variant);
		transform: translateX(-50%);
	}

	.bhv-detail-info-sheet__header h2 {
		margin: 0;
		color: var(--bhv-ink);
		font-size: clamp(1.5rem, 7vw, 2rem);
		font-weight: 680;
		letter-spacing: -0.035em;
		line-height: 1.1;
	}

	.bhv-detail-info-sheet__close {
		padding: 0;
		background: var(--bhv-primary-container);
		color: var(--bhv-primary-hover);
		cursor: pointer;
		transition-property: background-color, color;
	}

	.bhv-detail-info-sheet__content {
		overflow-y: auto;
		min-height: 0;
		padding: 6px 24px 24px;
		overscroll-behavior: contain;
	}

	.bhv-detail-info-sheet__content .bhv-person-details,
	.bhv-detail-info-sheet__content .bhv-project-details {
		gap: 18px;
	}

	body.single-person .bhv-detail-info-sheet__content .bhv-person-details__media {
		width: 112px;
		margin-inline: auto;
	}

	body.single-project .bhv-detail-info-sheet__content .bhv-project-details__media {
		min-height: 112px;
		padding: 12px;
	}

	body.single-project .bhv-detail-info-sheet__content .bhv-project-details__media img {
		max-height: 88px;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.bhv-detail-sheet-animated .bhv-detail-info-scrim,
	body.bhv-detail-sheet-animated .bhv-single-layout__sidebar {
		transition-duration: 1ms;
	}
}

.bhv-project-details,
.bhv-person-details {
	display: grid;
	gap: var(--bhv-space-3);
}

.bhv-project-details .bhv-project-details__media {
	display: grid;
	min-height: 150px;
	padding: 12px;
	place-items: center;
	border-bottom: 1px solid var(--bhv-outline-variant);
}

body.single-project .bhv-project-details .bhv-project-details__media {
	display: flex;
	min-height: 170px;
	align-items: center;
	justify-content: center;
	padding: 18px;
	border-bottom: 0;
	border-radius: 20px;
	background: #ffffff;
}

.bhv-project-details .bhv-project-details__media img {
	display: block;
	width: 100%;
	height: 140px;
	max-height: 140px;
	margin: 0;
	object-fit: contain;
}

body.single-project .bhv-project-details .bhv-project-details__media img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 140px;
}

.bhv-person-details .bhv-person-details__media {
	display: grid;
	padding: 0 0 20px;
	place-items: center;
	border-bottom: 1px solid var(--bhv-outline-variant);
}

.bhv-person-details .bhv-person-details__media img {
	display: block;
	width: 100%;
	max-height: 280px;
	margin: 0;
	border-radius: 4px;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	object-position: center top;
}

body.single-person .bhv-person-details .bhv-person-details__media {
	overflow: hidden;
	padding: 0;
	border-bottom: 0;
	border-radius: 20px;
	background: #ffffff;
}

body.single-person .bhv-person-details .bhv-person-details__media img {
	max-height: none;
	border-radius: 0;
}

.bhv-project-details .bhv-widget-section,
.bhv-person-details .bhv-widget-section {
	padding: 0;
}

.bhv-project-details .bhv-widget-section__title,
.bhv-person-details .bhv-widget-section__title {
	margin-bottom: 5px;
}

.bhv-person-details .bhv-widget-date-row,
.bhv-project-details .bhv-widget-period-row {
	display: flex;
	width: 100%;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
}

.bhv-project-details .bhv-widget-period {
	min-width: 0;
}

.bhv-project-details .bhv-widget-period-row .bhv-pill {
	flex: 0 0 auto;
}

.bhv-project-details .bhv-project-details__contacts p {
	margin: 0 0 4px;
	font-size: inherit;
	line-height: inherit;
}

.bhv-project-details .bhv-project-details__contacts p:last-child {
	margin-bottom: 0;
}

.bhv-project-details .bhv-icon-link,
.bhv-person-details .bhv-icon-link {
	display: inline-grid;
	width: 44px;
	height: 44px;
	place-items: center;
	border-radius: 50%;
	color: var(--bhv-primary-hover);
}

.bhv-project-details .bhv-icon-link:hover,
.bhv-project-details .bhv-icon-link:focus-visible,
.bhv-person-details .bhv-icon-link:hover,
.bhv-person-details .bhv-icon-link:focus-visible {
	background: var(--bhv-primary-container);
}

.bhv-project-details .bhv-icon-link i,
.bhv-person-details .bhv-icon-link i {
	padding: 0;
	font-size: 1.2rem;
}

.bhv-project-details .bhv-progress {
	position: relative;
	overflow: hidden;
	height: 22px;
	margin-top: 10px;
	border-radius: var(--bhv-radius-pill);
	background: var(--bhv-surface-container);
}

.bhv-project-details .bhv-progress__bar {
	display: block;
	width: var(--bhv-project-progress, 0%);
	height: 100%;
	border-radius: inherit;
	background: var(--bhv-primary);
}

.bhv-project-details .bhv-progress__label {
	position: absolute;
	z-index: 1;
	inset: 0;
	display: grid;
	place-items: center;
	color: var(--bhv-ink);
	font-size: 0.76rem;
	font-weight: 700;
}

.navigation.post-navigation {
	margin-top: 54px;
	padding-top: 22px;
	border-top: 1px solid var(--bhv-outline-variant);
}

.navigation.post-navigation a {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	min-height: 44px;
	color: var(--bhv-primary-hover);
	font-weight: 650;
	text-decoration: none;
}

.single .bhv-single-content,
.single .navigation.post-navigation {
	text-align: left;
}

/* Editorial News single */

.bhv-single-news {
	--bhv-reading-width: 740px;
	--bhv-gutter: clamp(20px, 3vw, 24px);
}

.bhv-news-sheet {
	border-radius: clamp(20px, 3vw, 32px);
	box-shadow: var(--bhv-shadow-overlay);
}

.bhv-news-sheet__header {
	padding: clamp(32px, 4vw, 52px) clamp(24px, 6vw, 72px) clamp(26px, 3vw, 40px);
}

.bhv-news-sheet__eyebrow {
	display: inline-flex;
	gap: 9px;
	align-items: center;
	min-height: 44px;
	margin: 0 0 clamp(14px, 2vw, 20px);
	color: var(--bhv-primary-hover);
	font-size: 0.82rem;
	font-weight: 750;
	letter-spacing: 0.09em;
	text-decoration: none;
	text-transform: uppercase;
}

.bhv-news-sheet__eyebrow:hover,
.bhv-news-sheet__eyebrow:focus-visible {
	color: var(--bhv-secondary);
}

.bhv-news-sheet__eyebrow i {
	font-size: 0.9rem;
}

.bhv-detail-sheet__header.bhv-news-sheet__header h1 {
	max-width: 24ch;
	font-size: clamp(2.25rem, 4.4vw, 4.15rem);
	line-height: 1;
}

.bhv-single-news .bhv-news-sheet__header h1 {
	max-width: 960px;
	font-size: clamp(2rem, 3.4vw, 2.75rem);
	line-height: 1.12;
}

.bhv-news-sheet__byline {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 14px;
	align-items: center;
	margin-top: clamp(22px, 3vw, 30px);
	color: var(--bhv-muted);
	font-size: 0.92rem;
}

.bhv-news-sheet__byline .bhv-author {
	color: var(--bhv-ink);
	font-weight: 650;
}

.bhv-news-sheet__byline .bhv-author:hover,
.bhv-news-sheet__byline .bhv-author:focus-visible {
	color: var(--bhv-primary);
}

.bhv-news-sheet__byline .bhv-author__avatar,
.bhv-news-sheet__byline .bhv-author__avatar img {
	width: 40px;
	height: 40px;
}

.bhv-news-sheet__meta-separator {
	width: 4px;
	height: 4px;
	flex: 0 0 4px;
	border-radius: 50%;
	background: var(--bhv-outline-variant);
}

.bhv-news-sheet__date {
	display: inline-flex;
	gap: 8px;
	align-items: center;
}

.bhv-news-sheet__date i {
	color: var(--bhv-primary-hover);
}

.bhv-news-sheet__categories,
.bhv-news-sheet__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	align-items: center;
}

.bhv-news-sheet__categories .bhv-pill--category {
	background: color-mix(in srgb, var(--bhv-wave-cyan) 34%, var(--bhv-surface));
	color: #17424a;
}

.bhv-news-sheet__media {
	margin: 0;
	background: var(--bhv-surface-container-low);
}

.bhv-news-sheet__image {
	display: block;
	width: 100%;
	height: auto;
	max-height: 720px;
	object-fit: cover;
}

.bhv-detail-sheet .bhv-single-content__copy.bhv-news-sheet__body {
	padding: clamp(36px, 5vw, 64px) clamp(24px, 6vw, 72px) clamp(28px, 4vw, 48px);
}

.bhv-news-sheet__body > :where(p, h2, h3, h4, h5, h6, ul, ol, blockquote, .wp-block-quote, .wp-block-separator, .page-links) {
	width: min(100%, 72ch);
	margin-right: auto;
	margin-left: auto;
}

.bhv-detail-sheet .bhv-news-sheet__body p,
.bhv-detail-sheet .bhv-news-sheet__body li {
	font-size: clamp(1rem, 1.15vw, 1.1rem);
	line-height: 1.78;
	text-align: left;
}

.bhv-detail-sheet .bhv-news-sheet__body > p:first-of-type {
	margin-bottom: clamp(24px, 4vw, 36px);
	color: var(--bhv-ink);
	font-size: clamp(1.14rem, 1.55vw, 1.32rem);
	font-weight: 540;
	line-height: 1.62;
}

.bhv-news-sheet__body > :where(h2, h3, h4, h5, h6) {
	position: relative;
	margin-top: clamp(2.2rem, 5vw, 3.5rem);
	margin-bottom: 1rem;
	color: var(--bhv-ink);
	letter-spacing: -0.025em;
	line-height: 1.16;
	text-wrap: balance;
}

.bhv-news-sheet__body > :where(h2, h3, h4)::before {
	display: block;
	width: 28px;
	height: 5px;
	margin-bottom: 14px;
	border-radius: var(--bhv-radius-pill);
	background: linear-gradient(90deg, var(--bhv-wave-purple), var(--bhv-wave-cyan));
	content: "";
}

.bhv-news-sheet__body > h2 {
	font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.bhv-news-sheet__body > :where(h3, h4) {
	font-size: clamp(1.4rem, 2.3vw, 1.9rem);
}

.bhv-news-sheet__body > :where(ul, ol) {
	padding-left: 1.4rem;
}

.bhv-news-sheet__body li::marker {
	color: var(--bhv-primary);
	font-weight: 750;
}

.bhv-news-sheet__body > :where(blockquote, .wp-block-quote) {
	margin-top: clamp(28px, 5vw, 44px);
	margin-bottom: clamp(28px, 5vw, 44px);
	padding: clamp(20px, 4vw, 32px);
	border: 0;
	border-left: 5px solid var(--bhv-wave-purple);
	border-radius: 0 var(--bhv-radius-lg) var(--bhv-radius-lg) 0;
	background: color-mix(in srgb, var(--bhv-wave-purple) 10%, var(--bhv-surface));
}

.bhv-news-sheet__body > :where(blockquote, .wp-block-quote) p {
	margin-bottom: 0.6em;
	font-size: clamp(1.12rem, 1.6vw, 1.32rem);
	font-weight: 560;
	line-height: 1.6;
}

.bhv-news-sheet__body > :where(.wp-block-image, .wp-block-gallery, .wp-block-group, .wp-block-columns, .tiled-gallery, .wp-block-jetpack-tiled-gallery) {
	width: 100%;
	max-width: 100%;
	margin-top: clamp(30px, 5vw, 52px);
	margin-bottom: clamp(30px, 5vw, 52px);
}

.bhv-news-sheet__body :where(.wp-block-image img, .wp-block-gallery img, .tiled-gallery img) {
	border-radius: var(--bhv-radius-md);
}

.bhv-news-sheet__body :where(figcaption, .wp-element-caption) {
	margin-top: 9px;
	color: var(--bhv-muted);
	font-size: 0.82rem;
	line-height: 1.45;
	text-align: center;
}

/* Keep all News body blocks on one reading measure. Vacancies retain their layout. */
.bhv-single-news .bhv-news-sheet__image {
	max-height: none;
}

.bhv-single-news .bhv-news-sheet__media figcaption {
	padding: 10px var(--bhv-gutter);
	color: var(--bhv-muted);
	font-size: 0.875rem;
	line-height: 1.5;
	text-align: left;
}

.bhv-single-news .bhv-single-content__copy.bhv-news-sheet__body {
	width: min(100%, calc(var(--bhv-reading-width) + (2 * var(--bhv-gutter))));
	margin-inline: auto;
	padding: clamp(32px, 4vw, 48px) var(--bhv-gutter);
}

.bhv-single-news .bhv-news-sheet__body > * {
	width: 100%;
	max-width: 100%;
	margin-inline: 0;
}

.bhv-single-news .bhv-news-sheet__body p,
.bhv-single-news .bhv-news-sheet__body li {
	font-size: 1.125rem;
	line-height: 1.65;
	text-align: left;
}

.bhv-single-news .bhv-news-sheet__body :where(p, ul, ol) {
	margin-bottom: 1.5rem;
}

.bhv-single-news .bhv-news-sheet__body > p:first-of-type {
	margin-bottom: 1.5rem;
	font-size: 1.25rem;
	line-height: 1.65;
}

.bhv-single-news .bhv-news-sheet__body > :where(.wp-block-image, .wp-block-gallery, .wp-block-group, .wp-block-columns, .tiled-gallery, .wp-block-jetpack-tiled-gallery) {
	margin-block: clamp(28px, 4vw, 40px);
}

.bhv-single-news .bhv-news-sheet__body img {
	height: auto;
	max-width: 100%;
}

.bhv-single-news .bhv-news-sheet__body :is(figcaption, .wp-element-caption, .wp-caption-text) {
	font-size: 0.875rem;
	line-height: 1.5;
	text-align: left;
}

.bhv-news-sheet__footer {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(20px, 4vw, 32px);
	align-items: center;
	justify-content: space-between;
	margin: 0 clamp(24px, 6vw, 72px);
	padding: clamp(24px, 4vw, 36px) 0 clamp(32px, 5vw, 52px);
	border-top: 1px solid var(--bhv-outline-variant);
}

.bhv-single-news .bhv-news-sheet__footer {
	width: min(100% - (2 * var(--bhv-gutter)), var(--bhv-reading-width));
	margin-inline: auto;
}

.bhv-news-sheet__tags {
	flex: 1 1 28rem;
}

.bhv-news-sheet__tags > i {
	margin-right: 3px;
	color: var(--bhv-primary-hover);
}

.bhv-news-sheet__back {
	flex: 0 0 auto;
	border-color: transparent;
	background: var(--bhv-primary-container);
}

.navigation.post-navigation.bhv-news-navigation {
	margin-top: clamp(28px, 5vw, 48px);
	padding-top: 0;
	border-top: 0;
}

.bhv-news-navigation__links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(16px, 3vw, 24px);
	align-items: stretch;
}

.navigation.post-navigation .bhv-news-navigation__link {
	display: flex;
	min-height: 132px;
	flex-direction: column;
	gap: 10px;
	align-items: flex-start;
	justify-content: flex-start;
	padding: clamp(20px, 3vw, 28px);
	border: 0;
	border-radius: var(--bhv-radius-lg);
	background: color-mix(in srgb, var(--bhv-card-surface) 76%, transparent);
	box-shadow: var(--bhv-shadow-card);
	color: var(--bhv-ink);
	transition: background-color var(--bhv-motion), box-shadow var(--bhv-motion), transform var(--bhv-motion);
	-webkit-backdrop-filter: blur(20px) saturate(135%);
	backdrop-filter: blur(20px) saturate(135%);
}

.navigation.post-navigation .bhv-news-navigation__link:hover,
.navigation.post-navigation .bhv-news-navigation__link:focus-visible {
	background: color-mix(in srgb, var(--bhv-primary-container) 80%, transparent);
	box-shadow: var(--bhv-shadow-card-hover);
	color: var(--bhv-ink);
	transform: translateY(-2px);
}

.bhv-news-navigation__link--next {
	grid-column: 2;
	text-align: right;
}

.bhv-news-navigation__link--next :where(.bhv-news-navigation__direction, .bhv-news-navigation__title) {
	align-self: flex-end;
}

.bhv-news-navigation__direction {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	color: var(--bhv-primary-hover);
	font-size: 0.78rem;
	font-weight: 750;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.bhv-news-navigation__title {
	max-width: 32ch;
	font-size: clamp(1rem, 1.45vw, 1.18rem);
	font-weight: 680;
	letter-spacing: -0.015em;
	line-height: 1.32;
}

.navigation.post-navigation.bhv-detail-navigation {
	margin: clamp(20px, 3vw, 28px) 0 0;
	padding: 0;
	border: 0;
}

.bhv-detail-navigation__links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(12px, 2vw, 16px);
	align-items: stretch;
}

.navigation.post-navigation .bhv-detail-navigation__card {
	display: flex;
	min-width: 0;
	min-height: 92px;
	align-items: center;
	padding: 16px 18px;
	border: 0;
	border-radius: 4px;
	background: color-mix(in srgb, var(--bhv-card-surface) 68%, transparent);
	box-shadow: var(--bhv-shadow-card);
	color: var(--bhv-ink);
	text-decoration: none;
	transition: background-color var(--bhv-motion), color var(--bhv-motion);
	-webkit-backdrop-filter: blur(18px) saturate(130%);
	backdrop-filter: blur(18px) saturate(130%);
}

body:is(.single-project, .single-person) .navigation.post-navigation .bhv-detail-navigation__card {
	border-radius: 20px;
}

.navigation.post-navigation .bhv-detail-navigation__card:hover {
	background: color-mix(in srgb, var(--bhv-primary-container) 52%, transparent);
	color: var(--bhv-ink);
}

.navigation.post-navigation .bhv-detail-navigation__card:focus-visible {
	outline: 3px solid var(--bhv-primary);
	outline-offset: 3px;
	background: color-mix(in srgb, var(--bhv-primary-container) 52%, transparent);
	color: var(--bhv-ink);
}

.bhv-detail-navigation__card--previous {
	grid-column: 1;
}

.bhv-detail-navigation__card--next {
	grid-column: 2;
	text-align: right;
}

.bhv-detail-navigation__content {
	display: flex;
	min-width: 0;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 3px;
	align-items: flex-start;
}

.bhv-detail-navigation__card--next .bhv-detail-navigation__content {
	align-items: flex-end;
}

.bhv-detail-navigation__direction {
	display: inline-flex;
	gap: 7px;
	align-items: center;
	color: var(--bhv-primary-hover);
	font-size: 0.7rem;
	font-weight: 750;
	letter-spacing: 0.055em;
	line-height: 1.25;
	text-transform: uppercase;
}

.bhv-detail-navigation__title {
	display: -webkit-box;
	overflow: hidden;
	font-size: clamp(0.94rem, 1.25vw, 1.04rem);
	font-weight: 680;
	letter-spacing: -0.012em;
	line-height: 1.28;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.bhv-detail-navigation__context {
	overflow: hidden;
	max-width: 100%;
	color: var(--bhv-muted);
	font-size: 0.78rem;
	line-height: 1.3;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bhv-single-news .comments-area {
	border-radius: var(--bhv-radius-lg);
	background: var(--bhv-card-surface);
	box-shadow: var(--bhv-shadow-card);
}

.bhv-project-video {
	position: relative;
	height: 0;
	margin-bottom: 30px;
	padding-bottom: 56.25%;
	overflow: hidden;
	border-radius: 4px;
	background: var(--bhv-surface-bright);
}

.bhv-project-video :where(iframe, object, embed) {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.bhv-project-video-section {
	margin: 40px 0 20px;
}

.bhv-project-video-actions {
	margin-top: 15px;
	text-align: right;
}
