.docspress-hero {
	--db-hero-accent: var(--dp-blue, #3858e9);
	--db-hero-copy: var(--dp-copy, #4f5666);
	--db-hero-heading: var(--dp-ink, #171a22);
	--db-hero-panel: var(--dp-paper, #fff);
	--db-hero-visual: transparent;
	--db-hero-media-width: 44%;
	--db-hero-image-scale: 100%;
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, var(--db-hero-media-width));
	box-sizing: border-box;
	width: 100%;
	min-height: 460px;
	margin-block: clamp(1.5rem, 4vw, 3rem);
	overflow: hidden;
	border: 1px solid var(--dp-line, #dcdcde);
	border-radius: var(--dp-radius, 10px);
	box-shadow: none;
}

.docspress-hero--midnight {
	--db-hero-copy: #d6dced;
	--db-hero-heading: #fff;
	--db-hero-panel: #141d34;
}

.docspress-hero--brand {
	--db-hero-copy: color-mix(in srgb, #fff 82%, var(--dp-blue, #3858e9));
	--db-hero-heading: #fff;
	--db-hero-panel: var(--dp-blue, #3858e9);
	--db-hero-visual: color-mix(in srgb, var(--dp-blue, #3858e9) 86%, #000);
}

.docspress-hero--paper:not(.has-background),
.docspress-hero--midnight:not(.has-background),
.docspress-hero--brand:not(.has-background),
.docspress-hero--has-panel-color:not(.has-background) {
	background: var(--db-hero-panel);
}

.docspress-hero--midnight:not(.has-text-color),
.docspress-hero--brand:not(.has-text-color) {
	color: var(--db-hero-copy);
}

.docspress-hero--midnight:not(.has-text-color) :where(.docspress-hero__eyebrow, .docspress-hero__description),
.docspress-hero--brand:not(.has-text-color) :where(.docspress-hero__eyebrow, .docspress-hero__description) {
	color: var(--db-hero-copy);
}

.docspress-hero--midnight:not(.has-text-color) .docspress-hero__title,
.docspress-hero--brand:not(.has-text-color) .docspress-hero__title {
	color: var(--db-hero-heading);
}

.docspress-hero--height-compact {
	min-height: 380px;
}

.docspress-hero--height-tall {
	min-height: 560px;
}

.docspress-hero__copy {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	box-sizing: border-box;
	min-width: 0;
	padding: clamp(38px, 5vw, 60px);
}

.docspress-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	width: fit-content;
	margin: 0 0 18px;
}

.docspress-hero__eyebrow::before {
	width: 20px;
	height: 2px;
	background: var(--db-hero-accent);
	content: "";
}

:where(.docspress-hero__title) {
	max-width: 680px;
	margin: 0;
	font-size: clamp(40px, 5vw, 62px);
	font-weight: var(--dp-heading-weight, 750);
	letter-spacing: -0.045em;
	line-height: 1;
	text-wrap: balance;
}

.docspress-hero__description {
	max-width: 580px;
	margin: clamp(28px, 2.5vw, 34px) 0 0;
}

.docspress-preset-wordpress .docspress-hero__description,
.docspress-preset-wordpress-com .docspress-hero__description,
.docspress-preset-jetpack .docspress-hero__description,
.docspress-blocks--preset-wordpress.docspress-hero .docspress-hero__description,
.docspress-blocks--preset-wordpress-com.docspress-hero .docspress-hero__description,
.docspress-blocks--preset-jetpack.docspress-hero .docspress-hero__description {
	margin-top: clamp(38px, 3vw, 44px);
}

.docspress-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 28px;
}

:where(.docspress-hero__button) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 44px;
	text-decoration: none;
	transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

:where(a.docspress-hero__button:hover) {
	text-decoration: none;
	transform: translateY(-1px);
}

.docspress-hero__button--secondary.wp-element-button {
	border-color: currentColor;
	background: transparent;
	color: inherit;
}

a.docspress-hero__button--secondary.wp-element-button:hover {
	border-color: currentColor;
	background: color-mix(in srgb, currentColor 8%, transparent);
	color: inherit;
}

.docspress-hero__visual {
	position: relative;
	display: grid;
	place-items: center;
	box-sizing: border-box;
	min-width: 0;
	padding: clamp(36px, 4vw, 52px);
	overflow: hidden;
	border-left: 1px solid var(--dp-line, #dcdcde);
}

.docspress-hero--brand .docspress-hero__visual,
.docspress-hero--has-visual-color .docspress-hero__visual {
	background-color: var(--db-hero-visual);
}

.docspress-hero:not(.docspress-hero--no-grid) .docspress-hero__visual {
	outline: 1px solid color-mix(in srgb, var(--db-hero-heading) 10%, transparent);
	outline-offset: -16px;
}

.docspress-hero__visual::before {
	position: absolute;
	width: min(74%, 340px);
	aspect-ratio: 1;
	border: 1px solid color-mix(in srgb, var(--db-hero-heading) 16%, transparent);
	border-radius: 50%;
	content: "";
	pointer-events: none;
}

.docspress-hero--no-orbit .docspress-hero__visual::before {
	display: none;
}

.docspress-hero__media {
	position: relative;
	z-index: 1;
	width: var(--db-hero-image-scale);
	max-width: 430px;
	margin: 0;
}

.docspress-hero__image {
	display: block;
	width: 100%;
	height: auto;
}

.docspress-hero-diagram {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	width: min(100%, 420px);
	padding: 18px;
	border: 1px solid var(--dp-line, #dcdcde);
	border-radius: 16px;
	background: var(--dp-paper, #fff);
	box-shadow: 0 16px 42px color-mix(in srgb, var(--db-hero-heading) 9%, transparent);
	color: var(--db-hero-heading);
	font-family: var(--dp-font-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
}

.docspress-hero-diagram__pipeline {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
}

.docspress-hero-diagram__source,
.docspress-hero-diagram__surface {
	box-sizing: border-box;
	border: 1px solid var(--dp-line, #dcdcde);
	border-radius: 11px;
	background: var(--dp-canvas, #f6f7f7);
}

.docspress-hero-diagram__source {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 7px;
	padding: 42px 12px 13px;
	overflow: hidden;
}

.docspress-hero-diagram__bar {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	display: flex;
	align-items: center;
	gap: 7px;
	min-height: 30px;
	padding: 0 10px;
	background: var(--db-hero-heading);
	color: var(--dp-paper, #fff);
	font: 720 9px/1 var(--dp-font-mono, "SFMono-Regular", Consolas, monospace);
}

.docspress-hero-diagram__dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--dp-highlight, #ffb900);
}

.docspress-hero-diagram__folder,
.docspress-hero-diagram__file {
	display: block;
	padding: 5px 7px;
	border-radius: 5px;
	font: 650 9px/1.2 var(--dp-font-mono, "SFMono-Regular", Consolas, monospace);
}

.docspress-hero-diagram__folder {
	grid-column: 1 / -1;
	border: 1px solid color-mix(in srgb, var(--db-hero-accent) 28%, var(--dp-line, #dcdcde));
	background: color-mix(in srgb, var(--db-hero-accent) 8%, var(--dp-paper, #fff));
	color: var(--db-hero-accent);
}

.docspress-hero-diagram__file {
	position: relative;
	padding-left: 17px;
	background: var(--dp-paper, #fff);
	color: var(--db-hero-copy);
}

.docspress-hero-diagram__file::before {
	position: absolute;
	top: 50%;
	left: 7px;
	width: 5px;
	height: 7px;
	border: 1px solid currentColor;
	border-radius: 1px;
	content: "";
	opacity: 0.55;
	transform: translateY(-50%);
}

.docspress-hero-diagram__hub {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 0;
	padding: 2px 4px;
	text-align: center;
}

.docspress-hero-diagram__hub::before,
.docspress-hero-diagram__hub::after {
	position: absolute;
	left: 50%;
	color: var(--dp-line-strong, #c3c4c7);
	content: "↓";
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	transform: translateX(-50%);
}

.docspress-hero-diagram__hub::before {
	top: -21px;
}

.docspress-hero-diagram__hub::after {
	bottom: -21px;
}

.docspress-hero-diagram__mascot {
	display: grid;
	width: 100%;
	height: 112px;
	place-items: center;
	overflow: visible;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.docspress-hero-diagram__mascot .docspress-hero__image {
	width: min(100%, 190px);
	max-width: none;
	filter: drop-shadow(0 8px 10px color-mix(in srgb, var(--db-hero-heading) 16%, transparent));
	transform: translateY(-34px);
}

.docspress-hero-diagram__fallback {
	color: var(--db-hero-accent);
	font-size: 20px;
	font-weight: 850;
	letter-spacing: -0.05em;
}

.docspress-hero-diagram__hub > strong {
	margin-top: 2px;
	font-size: 12px;
	line-height: 1.1;
}

.docspress-hero-diagram__hub > span {
	margin-top: 3px;
	color: var(--db-hero-copy);
	font-size: 9px;
	line-height: 1.25;
}

.docspress-hero-diagram__outputs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 9px;
}

.docspress-hero-diagram__surface {
	display: grid;
	gap: 4px;
	padding: 10px 10px 11px;
}

.docspress-hero-diagram__surface-label {
	color: var(--db-hero-copy);
	font-size: 8px;
	font-weight: 780;
	letter-spacing: 0.08em;
	line-height: 1;
	text-transform: uppercase;
}

.docspress-hero-diagram__surface > strong {
	font-size: 11px;
	line-height: 1.2;
}

.docspress-hero-diagram__surface > span:last-child {
	color: var(--db-hero-copy);
	font-size: 9px;
	line-height: 1.3;
}

.docspress-hero-diagram__return {
	display: grid;
	grid-template-columns: auto auto minmax(0, 1fr);
	gap: 7px;
	align-items: center;
	margin-top: 15px;
	padding-top: 13px;
	border-top: 1px solid var(--dp-line, #dcdcde);
	color: var(--db-hero-copy);
	font-size: 9px;
	line-height: 1.3;
}

.docspress-hero-diagram__return > span:first-child {
	color: var(--dp-highlight-dark, #b26200);
	font-size: 16px;
	line-height: 1;
}

.docspress-hero-diagram__return strong {
	color: var(--db-hero-heading);
	font-size: 9px;
}

.docspress-hero--media-left {
	grid-template-columns: minmax(280px, var(--db-hero-media-width)) minmax(0, 1fr);
}

.docspress-hero--media-left .docspress-hero__visual {
	order: -1;
	border-right: 1px solid var(--dp-line, #dcdcde);
	border-left: 0;
}

.docspress-hero--align-center .docspress-hero__copy {
	align-items: center;
	text-align: center;
}

.docspress-hero--align-center .docspress-hero__actions {
	justify-content: center;
}

.docspress-hero--no-visual {
	grid-template-columns: minmax(0, 1fr);
}

.docspress-hero--no-visual .docspress-hero__copy {
	align-items: flex-start;
}

.docspress-hero--no-visual.docspress-hero--align-center .docspress-hero__copy {
	align-items: center;
}

.docspress-hero__visual-label {
	display: none;
}

.docspress-hero--layout-editorial {
	--db-hero-visual: transparent;
	isolation: isolate;
	grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
	min-height: 500px;
	border-color: color-mix(in srgb, var(--db-hero-heading) 14%, transparent);
	box-shadow: 0 28px 80px color-mix(in srgb, #000 20%, transparent);
}

.docspress-hero--layout-editorial.docspress-hero--paper {
	--db-hero-visual: transparent;
	border-color: #d8dfd4;
	box-shadow: 0 24px 64px color-mix(in srgb, #182319 10%, transparent);
}

.docspress-preset-jetpack .docspress-hero--layout-editorial.docspress-hero--paper,
.docspress-blocks--preset-jetpack.docspress-hero--layout-editorial.docspress-hero--paper {
	--db-hero-accent: #008710;
	--db-hero-panel: transparent;
	border: 0;
	border-radius: 0;
	background-image: none;
	box-shadow: none;
}

.docspress-preset-jetpack .docspress-hero--layout-editorial.docspress-hero--paper::before,
.docspress-blocks--preset-jetpack.docspress-hero--layout-editorial.docspress-hero--paper::before {
	display: none;
}

.docspress-hero--layout-editorial:not(.docspress-hero--no-grid)::before {
	position: absolute;
	z-index: 0;
	inset: 18px;
	border: 1px solid color-mix(in srgb, var(--db-hero-heading) 8%, transparent);
	content: "";
	pointer-events: none;
}

.docspress-hero--layout-editorial.docspress-hero--height-compact {
	min-height: 430px;
}

.docspress-hero--layout-editorial.docspress-hero--height-tall {
	min-height: 620px;
}

.docspress-hero--layout-editorial .docspress-hero__copy {
	z-index: 2;
	padding: clamp(48px, 6.2vw, 76px);
}

.docspress-hero--layout-editorial .docspress-hero__eyebrow {
	margin-bottom: clamp(24px, 3vw, 36px);
}

.docspress-hero--layout-editorial .docspress-hero__eyebrow::before {
	width: 34px;
}

:where(.docspress-hero--layout-editorial .docspress-hero__title) {
	max-width: 760px;
	font-size: clamp(52px, 6.5vw, 82px);
	letter-spacing: -0.06em;
	line-height: 0.94;
}

:where(.docspress-preset-jetpack .docspress-hero--layout-editorial.docspress-hero--paper .docspress-hero__title),
:where(.docspress-blocks--preset-jetpack.docspress-hero--layout-editorial.docspress-hero--paper .docspress-hero__title) {
	font-size: clamp(50px, 6vw, 76px);
	font-weight: 700;
	letter-spacing: -0.055em;
	line-height: 0.97;
}

.docspress-hero--layout-editorial .docspress-hero__description,
.docspress-preset-wordpress .docspress-hero--layout-editorial .docspress-hero__description,
.docspress-preset-wordpress-com .docspress-hero--layout-editorial .docspress-hero__description,
.docspress-preset-jetpack .docspress-hero--layout-editorial .docspress-hero__description,
.docspress-blocks--preset-wordpress.docspress-hero--layout-editorial .docspress-hero__description,
.docspress-blocks--preset-wordpress-com.docspress-hero--layout-editorial .docspress-hero__description,
.docspress-blocks--preset-jetpack.docspress-hero--layout-editorial .docspress-hero__description {
	max-width: 610px;
	margin-top: 26px;
}

.docspress-hero--layout-editorial .docspress-hero__actions {
	gap: 18px;
	margin-top: 34px;
}

:where(.docspress-hero--layout-editorial .docspress-hero__button) {
	min-height: 46px;
}

:where(.docspress-hero--layout-editorial .docspress-hero__button--primary) {
	box-shadow: 0 10px 28px color-mix(in srgb, var(--db-hero-accent) 24%, transparent);
}

:where(.docspress-hero--layout-editorial .docspress-hero__button--secondary) {
	border-color: transparent;
}

:where(.docspress-hero--layout-editorial .docspress-hero__button--secondary)::after {
	margin-left: 10px;
	content: "↗";
	transition: transform 150ms ease;
}

:where(.docspress-hero--layout-editorial a.docspress-hero__button--secondary:hover) {
	border-color: transparent;
	background: transparent;
}

:where(.docspress-hero--layout-editorial a.docspress-hero__button--secondary:hover)::after {
	transform: translate(2px, -2px);
}

.docspress-hero--layout-editorial .docspress-hero__visual,
.docspress-hero--layout-editorial.docspress-hero--media-left .docspress-hero__visual {
	z-index: 1;
	min-height: 100%;
	padding: clamp(40px, 5vw, 68px);
	border: 0;
	background: transparent;
}

.docspress-preset-jetpack .docspress-hero--layout-editorial.docspress-hero--paper .docspress-hero__visual,
.docspress-blocks--preset-jetpack.docspress-hero--layout-editorial.docspress-hero--paper .docspress-hero__visual {
	background-image: none;
}

.docspress-hero--layout-editorial .docspress-hero__visual::before {
	width: min(110%, 430px);
	border: 1px dashed color-mix(in srgb, var(--db-hero-heading) 16%, transparent);
	background: transparent;
}

.docspress-hero--layout-editorial .docspress-hero__visual::after {
	position: absolute;
	top: 14%;
	bottom: 14%;
	left: 0;
	border-left: 1px solid color-mix(in srgb, var(--db-hero-heading) 13%, transparent);
	content: "";
}

.docspress-hero--layout-editorial.docspress-hero--media-left .docspress-hero__visual::after {
	right: 0;
	left: auto;
}

.docspress-preset-jetpack .docspress-hero--layout-editorial.docspress-hero--paper .docspress-hero__visual::after,
.docspress-blocks--preset-jetpack.docspress-hero--layout-editorial.docspress-hero--paper .docspress-hero__visual::after {
	display: none;
}

.docspress-hero--layout-editorial .docspress-hero__visual-label {
	position: absolute;
	z-index: 0;
	top: 50%;
	right: clamp(14px, 2vw, 28px);
	display: block;
	color: transparent;
	font-size: clamp(72px, 9vw, 118px);
	font-weight: 850;
	letter-spacing: 0.08em;
	line-height: 0.72;
	text-transform: uppercase;
	transform: translateY(-50%) rotate(180deg);
	writing-mode: vertical-rl;
	-webkit-text-stroke: 1px color-mix(in srgb, var(--db-hero-heading) 18%, transparent);
}

.docspress-preset-jetpack .docspress-hero--layout-editorial.docspress-hero--paper .docspress-hero__visual-label,
.docspress-blocks--preset-jetpack.docspress-hero--layout-editorial.docspress-hero--paper .docspress-hero__visual-label {
	display: none;
}

.docspress-hero--layout-editorial .docspress-hero__media {
	z-index: 2;
	transform: translateX(-8%) rotate(-5deg);
	filter: drop-shadow(0 28px 36px color-mix(in srgb, #000 34%, transparent));
	transition: transform 420ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.docspress-hero--layout-editorial.docspress-hero--paper .docspress-hero__media {
	filter: drop-shadow(0 24px 30px color-mix(in srgb, #173318 20%, transparent));
}

.docspress-preset-jetpack .docspress-hero--layout-editorial.docspress-hero--paper .docspress-hero__media,
.docspress-blocks--preset-jetpack.docspress-hero--layout-editorial.docspress-hero--paper .docspress-hero__media {
	transform: none;
	filter: none;
}

.docspress-hero--layout-editorial:hover .docspress-hero__media {
	transform: translateX(-8%) rotate(-2deg) scale(1.025);
}

.docspress-preset-jetpack .docspress-hero--layout-editorial.docspress-hero--paper:hover .docspress-hero__media,
.docspress-blocks--preset-jetpack.docspress-hero--layout-editorial.docspress-hero--paper:hover .docspress-hero__media {
	transform: scale(1.015);
}

@media (max-width: 860px) {
	.docspress-hero,
	.docspress-hero--media-left {
		grid-template-columns: minmax(0, 1fr);
		min-height: auto;
	}

	.docspress-hero__copy {
		padding: 44px 34px;
	}

	.docspress-hero__visual,
	.docspress-hero--media-left .docspress-hero__visual {
		order: 0;
		min-height: 380px;
		padding: 44px;
		border-top: 1px solid var(--dp-line, #dcdcde);
		border-right: 0;
		border-left: 0;
	}

	.docspress-hero__media {
		width: min(var(--db-hero-image-scale), 380px);
	}

	.docspress-hero--layout-editorial,
	.docspress-hero--layout-editorial.docspress-hero--media-left {
		grid-template-columns: minmax(0, 1fr) minmax(220px, 0.55fr);
		min-height: 470px;
	}

	.docspress-hero--layout-editorial .docspress-hero__copy {
		padding: 48px 38px;
	}

	.docspress-hero--layout-editorial .docspress-hero__visual,
	.docspress-hero--layout-editorial.docspress-hero--media-left .docspress-hero__visual {
		order: 0;
		min-height: 100%;
		padding: 32px;
		border-top: 0;
	}
}

@media (max-width: 600px) {
	.docspress-hero__copy {
		padding: 36px 24px 40px;
	}

	.docspress-hero__visual,
	.docspress-hero--media-left .docspress-hero__visual {
		min-height: 320px;
		padding: 42px 26px;
	}

	:where(.docspress-hero__title) {
		font-size: clamp(38px, 12vw, 52px);
	}

	.docspress-hero__actions {
		display: grid;
		width: 100%;
	}

	:where(.docspress-hero__button) {
		width: 100%;
	}

	.docspress-hero--layout-editorial,
	.docspress-hero--layout-editorial.docspress-hero--media-left {
		grid-template-columns: minmax(0, 1fr);
		min-height: auto;
	}

	.docspress-hero--layout-editorial .docspress-hero__copy {
		padding: 42px 24px 38px;
	}

	:where(.docspress-hero--layout-editorial .docspress-hero__title) {
		font-size: clamp(44px, 14vw, 62px);
	}

	.docspress-hero--layout-editorial .docspress-hero__visual,
	.docspress-hero--layout-editorial.docspress-hero--media-left .docspress-hero__visual {
		min-height: 245px;
		padding: 28px;
		border-top: 1px solid color-mix(in srgb, var(--db-hero-heading) 13%, transparent);
	}

	.docspress-hero--layout-editorial .docspress-hero__visual::after {
		display: none;
	}

	.docspress-hero--layout-editorial .docspress-hero__visual-label {
		top: auto;
		right: 20px;
		bottom: 18px;
		font-size: clamp(44px, 16vw, 66px);
		line-height: 1;
		transform: none;
		writing-mode: horizontal-tb;
	}

	.docspress-hero--layout-editorial .docspress-hero__media {
		width: min(var(--db-hero-image-scale), 190px);
		transform: rotate(-5deg);
	}

	.docspress-hero--layout-editorial:hover .docspress-hero__media {
		transform: rotate(-2deg) scale(1.025);
	}

	.docspress-hero--layout-editorial .docspress-hero__actions {
		gap: 8px;
	}

	.docspress-hero-diagram {
		padding: 16px;
	}

	.docspress-hero-diagram__pipeline {
		gap: 24px;
	}

	.docspress-hero-diagram__outputs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.docspress-hero-diagram__return {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.docspress-hero-diagram__return > span:last-child {
		grid-column: 2;
	}

	:where(.docspress-hero--layout-editorial .docspress-hero__button--secondary) {
		padding-block: 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.docspress-hero__button,
	.docspress-hero--layout-editorial .docspress-hero__media,
	.docspress-hero--layout-editorial .docspress-hero__button--secondary::after {
		transition: none;
	}
}

@media print {
	.docspress-hero {
		box-shadow: none;
	}

	.docspress-hero__actions {
		display: none !important;
	}
}
