/* WO-64 G: lean chrome for article pages (blog_detail). External file, so it
   styles the page without adding a single byte to the served HTML. */

.article-menu {
	position: relative;
}

.article-menu > summary {
	cursor: pointer;
	list-style: none;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-size: 0.85rem;
	padding: 0.5rem 0;
}

.article-menu > summary::-webkit-details-marker {
	display: none;
}

.article-menu > summary::after {
	content: "";
	display: inline-block;
	width: 0.45rem;
	height: 0.45rem;
	margin-left: 0.5rem;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	transition: transform 0.2s ease;
}

.article-menu[open] > summary::after {
	transform: rotate(225deg) translateY(-2px);
}

.article-menu > ul {
	position: absolute;
	z-index: 1050;
	min-width: 16rem;
	max-height: 70vh;
	overflow-y: auto;
	margin: 0;
	padding: 1rem 1.25rem;
	background: #fff;
	box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15);
}

.article-menu > ul li {
	padding: 0.2rem 0;
}

.article-menu > ul li ul {
	padding-left: 1rem;
}

.article-menu a {
	color: inherit;
}

.article-breadcrumb {
	font-size: 0.85rem;
}

.article-breadcrumb ol > li + li::before {
	content: "/";
	padding: 0 0.5rem;
	opacity: 0.5;
}

.article-related {
	margin-top: 2.5rem;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	padding-top: 1.5rem;
}

.article-related ul li {
	padding: 0.3rem 0;
}

.article-related time {
	opacity: 0.6;
	font-size: 0.85em;
	margin-left: 0.35rem;
}

/* Previous/next links: laid out as separate flex items, so the whitespace
   collapse between the two anchors can never join their labels. */
.article-prevnext {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.75rem 1.5rem;
	margin-top: 2.5rem;
}
