/* Hallmark · pre-emit critique: P5 H5 E5 S5 R5 V5 · macrostructure: inherited-headline-editorial · contrast: pass (40–41) · nav: inherited · footer: inherited · slop: pass (42–45) */
@import "tokens.css";

.gh-skip-link {
	position: fixed;
	top: 0;
	left: 1rem;
	z-index: 9999;
	padding: 0.75rem 1rem;
	background: #fff;
	color: #15171a;
	transform: translateY(-120%);
}

.gh-skip-link:focus {
	transform: translateY(0);
}

.gh-publication-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-block: 0.8rem;
	border-top: 1px solid var(--color-light-gray);
	font-size: 1.2rem;
	color: var(--color-secondary-text);
}

.gh-feed-links {
	display: flex;
	flex-wrap: wrap;
	gap: 1.6rem;
}

.gh-feed-links a,
.gh-generator {
	white-space: nowrap;
}

body:not(.is-head-stacked) .gh-head {
	height: auto;
}

.gh-breadcrumbs {
	padding-block: 2rem 0;
}

.gh-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gh-breadcrumbs li:not(:last-child)::after {
	content: "/";
	margin-left: 0.5rem;
}

.gh-post-taxonomy,
.post-toc {
	margin-block: 2rem;
}

.gh-post-taxonomy p {
	margin-block: 0.5rem;
}

.toc-back {
	float: right;
	font-size: 0.75em;
	text-decoration: none;
}

.gh-taxonomy-list {
	display: grid;
	gap: 0.75rem;
	padding: 0 0 4rem;
	list-style: none;
}

.gh-article-title,
.gh-pagehead-title,
.gh-card-title {
	min-width: 0;
	overflow-wrap: anywhere;
}

.nav a,
.gh-btn,
.gh-pagination a,
.gh-breadcrumbs a {
	white-space: nowrap;
}

.gh-content img,
.gh-content video,
.gh-content iframe {
	max-width: 100%;
}

.gh-content img,
.gh-content video {
	height: auto;
}

@media (max-width: 767px) {
	.gh-publication-meta {
		align-items: flex-start;
		flex-direction: column;
	}
}
