body.single-documentation .nv-single-post-wrap > .entry-header {
	display: none;
}

body.single-documentation .container.single-post-container,
body.single-documentation .nv-single-post-wrap,
body.single-documentation .nv-content-wrap {
	max-width: none;
	width: 100%;
	padding-left: 0;
	padding-right: 0;
}

body.single-documentation > .wrapper {
	overflow: visible;
}

.aiofw-docs {
	--aiofw-doc-brand: #2271b1;
	--aiofw-doc-brand-dark: #135e96;
	--aiofw-doc-ink: #1d2327;
	--aiofw-doc-muted: #50575e;
	--aiofw-doc-line: #dcdcde;
	--aiofw-doc-soft: #f6f7f7;
	color: var(--aiofw-doc-ink);
	font-size: 16px;
	line-height: 1.65;
}

.aiofw-docs,
.aiofw-docs * {
	box-sizing: border-box;
}

.aiofw-docs a {
	color: var(--aiofw-doc-brand);
	text-underline-offset: 2px;
}

.aiofw-doc-hero {
	padding: 64px clamp(24px, 7vw, 96px) 54px;
	border-bottom: 1px solid var(--aiofw-doc-line);
	background: linear-gradient(135deg, #f0f6fc 0%, #fff 68%);
	scroll-margin-top: 100px;
}

.aiofw-doc-hero > * {
	max-width: 1060px;
	margin-left: auto;
	margin-right: auto;
}

.aiofw-doc-hero h1 {
	max-width: 800px;
	margin-top: 0;
	font-size: clamp(34px, 5vw, 56px);
	letter-spacing: -.035em;
	line-height: 1.08;
}

.aiofw-doc-hero .eyebrow {
	margin-bottom: 10px;
	color: var(--aiofw-doc-brand);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.aiofw-doc-hero .lead {
	max-width: 800px;
	color: var(--aiofw-doc-muted);
	font-size: 20px;
}

.aiofw-doc-hero .hero-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 26px;
}

.aiofw-doc-hero .hero-meta > .wp-block-group__inner-container {
	display: contents;
}

.aiofw-doc-hero .pill {
	margin: 0;
	padding: 6px 10px;
	border: 1px solid #c5d9ed;
	border-radius: 999px;
	background: #fff;
	font-size: 13px;
}

.aiofw-doc-layout {
	max-width: 1440px;
	margin: 0 auto !important;
	gap: 0 !important;
	align-items: stretch !important;
}

.aiofw-doc-sidebar-column {
	position: relative;
	flex-grow: 0 !important;
	align-self: stretch !important;
	top: auto !important;
	background: var(--aiofw-doc-soft);
	border-right: 1px solid var(--aiofw-doc-line);
}

.aiofw-doc-layout > .aiofw-doc-sidebar-column[class*="o-sticky"] {
	position: relative !important;
}

.aiofw-doc-sidebar {
	position: sticky;
	top: 92px;
	display: flex;
	flex-direction: column;
	max-height: calc(100vh - 92px);
	overflow: hidden;
}

.aiofw-doc-sidebar > .wp-block-group__inner-container {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-height: 0;
}

.aiofw-doc-brand {
	flex: 0 0 auto;
	padding: 24px 22px 18px;
	border-bottom: 1px solid var(--aiofw-doc-line);
	background: #fff;
}

.aiofw-doc-brand strong,
.aiofw-doc-brand span {
	display: block;
}

.aiofw-doc-brand p {
	margin: 0;
}

.aiofw-doc-brand strong {
	font-size: 17px;
	line-height: 1.3;
}

.aiofw-doc-brand .aiofw-doc-version {
	width: max-content;
	margin-top: 8px;
	padding: 3px 9px;
	border-radius: 999px;
	background: #e7f3ff;
	color: var(--aiofw-doc-brand-dark);
	font-size: 12px;
	font-weight: 600;
}

.aiofw-doc-search-block {
	flex: 0 0 auto;
	padding: 15px 18px 8px !important;
}

.aiofw-doc-search-label {
	display: block;
	padding: 0 0 5px !important;
	font-size: 12px;
	font-weight: 600;
}

.aiofw-doc-search {
	width: 100% !important;
	margin: 0 !important;
	padding: 9px 11px;
	border: 1px solid #8c8f94;
	border-radius: 4px;
	background: #fff;
	font: inherit;
	font-size: 13px;
}

.aiofw-doc-nav {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-gutter: stable;
	padding: 6px 10px 28px;
}

.aiofw-doc-nav > .wp-block-group__inner-container {
	display: contents;
}

.aiofw-doc-nav .wp-block-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.aiofw-doc-nav li {
	margin: 0;
}

.aiofw-doc-nav a {
	display: block;
	margin: 2px 0;
	padding: 7px 11px;
	border-radius: 4px;
	color: #2c3338;
	font-size: 13px;
	text-decoration: none;
}

.aiofw-doc-nav a:hover,
.aiofw-doc-nav a.is-active {
	background: #fff;
	color: var(--aiofw-doc-brand);
	box-shadow: inset 3px 0 var(--aiofw-doc-brand);
}

.aiofw-doc-main {
	min-width: 0;
	padding: 12px clamp(26px, 6vw, 88px) 80px;
}

.aiofw-doc-section {
	max-width: 1060px;
	margin: 0 auto;
	padding: 42px 0 32px;
	border-bottom: 1px solid #ececec;
	scroll-margin-top: 100px;
}

.aiofw-doc-section > h2 {
	margin-top: 0;
	font-size: 30px;
	letter-spacing: -.02em;
	line-height: 1.2;
}

.aiofw-doc-section h3 {
	margin-top: 30px;
	font-size: 20px;
	line-height: 1.3;
}

.aiofw-doc-section li + li {
	margin-top: 7px;
}

.aiofw-doc-section .wp-block-code {
	overflow: auto;
	padding: 18px;
	border-radius: 6px;
	background: #1d2327 !important;
	color: #fff !important;
	line-height: 1.55;
}

.aiofw-doc-section .wp-block-code code {
	padding: 0;
	background: transparent;
	color: inherit;
}

.aiofw-doc-section .grid {
	margin: 22px 0;
}

.aiofw-doc-section .grid > .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.aiofw-doc-section .card {
	padding: 20px;
	border: 1px solid var(--aiofw-doc-line);
	border-radius: 7px;
	background: #fff;
}

.aiofw-doc-section .callout {
	margin: 22px 0;
	padding: 17px 19px;
	border-left: 4px solid var(--aiofw-doc-brand);
	border-radius: 0 5px 5px 0;
	background: #f0f6fc;
}

.aiofw-doc-section .callout.warning {
	border-left-color: #dba617;
	background: #fcf9e8;
}

.aiofw-doc-section .callout.danger {
	border-left-color: #b32d2e;
	background: #fcf0f1;
}

.aiofw-doc-section .callout.success {
	border-left-color: #008a20;
	background: #edfaef;
}

.aiofw-doc-table {
	overflow-x: auto;
	margin: 20px 0;
	border: 1px solid var(--aiofw-doc-line);
	border-radius: 6px;
}

.aiofw-doc-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.aiofw-doc-table th,
.aiofw-doc-table td {
	padding: 12px 14px;
	border-bottom: 1px solid var(--aiofw-doc-line);
	text-align: left;
	vertical-align: top;
}

.aiofw-doc-table th {
	background: var(--aiofw-doc-soft);
}

.aiofw-doc-figure {
	margin: 28px 0;
	padding: 10px;
	border: 1px solid var(--aiofw-doc-line);
	border-radius: 7px;
	background: var(--aiofw-doc-soft);
}

.aiofw-doc-figure img {
	width: 100%;
	border: 1px solid #c3c4c7;
	border-radius: 3px;
}

.aiofw-doc-section .flow {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 8px;
	margin: 24px 0;
	counter-reset: flow;
}

.aiofw-doc-section .flow > div {
	padding: 14px;
	border: 1px solid var(--aiofw-doc-line);
	border-radius: 6px;
	background: var(--aiofw-doc-soft);
	font-size: 13px;
	text-align: center;
}

.aiofw-doc-section details {
	margin: 10px 0;
	border: 1px solid var(--aiofw-doc-line);
	border-radius: 6px;
	background: #fff;
}

.aiofw-doc-section details summary {
	padding: 14px 16px;
	cursor: pointer;
	font-weight: 600;
}

.aiofw-doc-section details > :not(summary) {
	margin-left: 17px;
	margin-right: 17px;
}

.aiofw-doc-section .changelog-list {
	margin-top: 22px;
}

.aiofw-doc-section .changelog-list > .wp-block-group__inner-container {
	display: grid;
	gap: 10px;
}

.aiofw-doc-menu {
	display: none;
}

.aiofw-doc-search-hidden {
	display: none !important;
}

.editor-styles-wrapper .aiofw-docs {
	max-width: none;
}

.editor-styles-wrapper .aiofw-doc-hero,
.editor-styles-wrapper .aiofw-doc-layout {
	max-width: none;
}

.editor-styles-wrapper .aiofw-doc-sidebar {
	position: sticky !important;
	top: 24px;
	max-height: calc(100vh - 48px);
}

.editor-styles-wrapper .aiofw-doc-sidebar > .block-editor-inner-blocks,
.editor-styles-wrapper .aiofw-doc-sidebar > .block-editor-inner-blocks > .block-editor-block-list__layout {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-height: 0;
}

@media (max-width: 960px) {
	.aiofw-doc-layout {
		display: block !important;
	}

	.aiofw-doc-sidebar-column {
		position: fixed;
		inset: 0 auto 0 0;
		z-index: 100000;
		width: min(320px, 86vw);
		transform: translateX(-105%);
		transition: transform .2s ease;
		box-shadow: 6px 0 20px rgba(0, 0, 0, .14);
	}

	body.aiofw-doc-nav-open .aiofw-doc-sidebar-column {
		transform: translateX(0);
	}

	.aiofw-doc-sidebar {
		top: 0;
		max-height: 100vh;
	}

	.aiofw-doc-menu {
		display: block !important;
		position: fixed;
		right: 14px;
		bottom: 14px;
		z-index: 100001;
		padding: 10px 14px;
		border: 1px solid #8c8f94;
		border-radius: 5px;
		background: #fff;
		color: var(--aiofw-doc-ink);
		font-weight: 600;
		box-shadow: 0 3px 12px rgba(0, 0, 0, .15);
	}

	.aiofw-doc-section .grid > .wp-block-group__inner-container,
	.aiofw-doc-section .flow {
		grid-template-columns: 1fr;
	}
}

@media print {
	.aiofw-doc-sidebar-column,
	.aiofw-doc-menu {
		display: none !important;
	}

	.aiofw-doc-main {
		padding: 0;
	}
}
