body.review .rev-sidebar {
	position: sticky;
	top: var(--rev-toc-top, 96px);
	z-index: 20;
	margin-bottom: 32px;
}

body.review .rev-toc {
	position: relative;
	padding: 16px;
	border: 1px solid var(--rev-border);
	border-radius: 12px;
	background: #120e09;
}

body.review .rev-toc summary {
	color: var(--rev-text);
	font-size: 14px;
	cursor: pointer;
}

body.review .rev-toc nav {
	margin-top: 14px;
}

body.review .rev-toc ul {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0 0 0 16px;
	border-left: 1px solid #332712;
	list-style: none;
}

body.review .rev-toc a {
	display: block;
	position: relative;
	padding-block: 3px;
	color: var(--rev-text-muted);
	font-size: 14px;
	line-height: 18px;
	text-decoration: none;
}

body.review .rev-toc a:hover,
body.review .rev-toc a[aria-current='location'] {
	color: var(--rev-accent);
}

body.review .rev-toc a[aria-current='location']::before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: -17px;
	width: 2px;
	background: var(--rev-accent);
}

body.review #page {
	position: relative;
}

body.review #primary {
	position: relative;
	z-index: 1;
}

body.review .rev-bg {
	position: absolute;
	inset: 0 0 auto;
	height: 120px;
	overflow: hidden;
	pointer-events: none;
	z-index: 0;
}

body.review .rev-bg__strip {
	display: block;
	height: 100%;
	background: linear-gradient(180deg, rgba(76, 45, 3, 0.74) 0%, rgba(76, 45, 3, 0) 100%);
}

@media (max-width: 1099px) {
	body.review .rev-toc {
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
	}

	body.review .rev-toc[open] {
		border-bottom-color: transparent;
		border-radius: 12px 12px 0 0;
	}

	body.review .rev-toc summary {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		list-style: none;
	}

	body.review .rev-toc summary::-webkit-details-marker {
		display: none;
	}

	body.review .rev-toc summary::after {
		content: '';
		width: 8px;
		height: 8px;
		margin-right: 3px;
		border-right: 1.5px solid currentColor;
		border-bottom: 1.5px solid currentColor;
		transform: rotate(45deg);
		transition: transform 200ms ease;
	}

	body.review .rev-toc[data-expanded='true'] summary::after {
		transform: rotate(225deg);
	}

	body.review .rev-toc nav {
		position: absolute;
		top: 100%;
		left: -1px;
		width: calc(100% + 2px);
		max-height: calc(100dvh - var(--rev-anchor-offset, 164px) - 16px);
		margin: 0;
		padding: 0 16px 16px;
		overflow-y: auto;
		overscroll-behavior: contain;
		border: 1px solid var(--rev-border);
		border-top: 0;
		border-radius: 0 0 12px 12px;
		background: #120e09;
		box-shadow: 0 16px 24px rgba(0, 0, 0, 0.2);
	}

	body.review .rev-toc a {
		padding-block: 10px;
	}
}

@media (min-width: 768px) {
	body.review .rev-badge {
		font-size: 12px;
		line-height: 1;
	}
	body.review .rev-lead,
	body.review .rev-intro {
		font-size: 20px;
	}
	body.review .rev-byline__people > span + span::before {
		content: '·';
		margin-right: 20px;
		color: var(--rev-text-muted);
	}
}

@media (min-width: 1100px) {
	body.review .rev-layout {
		display: grid;
		grid-template-columns: 164px minmax(0, 899px);
		gap: 73px;
		padding-block: 79px 112px;
	}
	body.review .rev-sidebar {
		align-self: start;
		position: sticky;
		top: var(--rev-anchor-offset);
		margin: 0;
	}
	body.review .rev-toc {
		max-height: calc(100dvh - var(--rev-anchor-offset) - 24px);
		overflow-y: auto;
		padding: 6px 0 8px;
		border: 0;
		border-radius: 0;
		background: none;
	}
	body.review .rev-toc summary {
		list-style: none;
		cursor: default;
		pointer-events: none;
	}
	body.review .rev-toc summary::-webkit-details-marker {
		display: none;
	}
	body.review .rev-toc ul {
		gap: 8px;
	}
	body.review .rev-toc a {
		font-size: 14px;
		letter-spacing: -0.2px;
		padding-block: 0;
	}
	body.review .rev-section {
		margin-bottom: 100px;
	}
	body.review .rev-section-body {
		padding-left: 20px;
		gap: 28px;
	}
	body.review .rev-hero .rev-section-body {
		padding-top: 29px;
		gap: 32px;
	}

	body.review .rev-hero h1,
	body.review .rev-hero .rev-lead {
		margin-bottom: -4px;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.review .review-lp *,
	body.review .review-lp *::before,
	body.review .review-lp *::after {
		scroll-behavior: auto !important;
		transition: none !important;
		animation: none !important;
	}
}
