/*
 * Quill Quest reader views.
 *
 * Article, archive, search, and author layouts share one quiet editorial
 * grammar. Every colour and type value comes from the theme token layers so
 * the page remains legible in both schemes.
 */

.qq-site-main {
	padding-block: var(--qq-sp-2xl) var(--qq-sp-4xl);
}

.qq-reader-layout {
	display: block;
	gap: clamp(var(--qq-sp-xl), 5vw, var(--qq-sp-4xl));
	align-items: start;
}

.qq-article-column,
.qq-archive-column,
.qq-search-column,
.qq-author-column,
.qq-page-column {
	min-width: 0;
}

.qq-reader-layout > .widget-area {
	min-width: 0;
	position: static;
	margin-top: var(--qq-sp-3xl);
	padding-top: 0;
}
.qq-sidebar > * + * { margin-block-start: var(--qq-sp-lg); }

.qq-breadcrumbs {
	display: flex;
	align-items: center;
	gap: var(--qq-sp-xs);
	margin-bottom: var(--qq-sp-xl);
	color: var(--qq-c-text-muted);
	font-size: var(--qq-fs-2xs);
	letter-spacing: var(--qq-tracking-wide);
	text-transform: uppercase;
}

.qq-breadcrumbs a {
	color: var(--qq-c-link);
	font-weight: 600;
}

.qq-breadcrumbs a:hover {
	color: var(--qq-c-link-hover);
}

.qq-article-header {
	max-width: var(--qq-measure-text);
	border-top: var(--qq-bw-thick) solid var(--qq-c-text);
	padding-top: var(--qq-sp-md);
}

.qq-article-kicker,
.qq-category {
	display: inline-flex;
	align-items: center;
	color: var(--qq-c-brand-ink);
	font-size: var(--qq-fs-2xs);
	font-weight: 600;
	letter-spacing: var(--qq-tracking-caps);
	line-height: var(--qq-lh-snug);
	text-transform: uppercase;
}

.qq-article-kicker .qq-category {
	color: inherit;
}

.qq-article-title {
	max-width: none;
	margin-top: var(--qq-sp-sm);
	font-family: var(--qq-c-font-serif);
	font-size: clamp(2.25rem, 11vw, 3.5rem);
	font-weight: 600;
	letter-spacing: var(--qq-tracking-tight);
	line-height: var(--qq-lh-tight);
}

.qq-article-dek {
	max-width: 60ch;
	margin-top: var(--qq-sp-lg);
	color: var(--qq-c-text-secondary);
	font-family: var(--qq-c-font-serif);
	font-size: var(--qq-fs-md);
	line-height: var(--qq-lh-relaxed);
}

.qq-article-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: var(--qq-sp-xs);
	margin-top: var(--qq-sp-lg);
	color: var(--qq-c-text-muted);
	font-size: var(--qq-fs-xs);
}

.qq-article-byline,
.qq-article-byline a {
	color: var(--qq-c-text);
	font-weight: 600;
}

.qq-article-byline a:hover {
	color: var(--qq-c-link);
}

.qq-meta-separator {
	color: var(--qq-c-brand-ink);
}

.qq-article-updated {
	color: var(--qq-c-text-muted);
}

.qq-article-hero {
	margin: var(--qq-sp-2xl) 0 0;
}

.qq-article-hero .qq-post-image,
.qq-article-hero .qq-image-placeholder {
	width: 100%;
	max-height: min(68vh, 46rem);
	object-fit: cover;
}

.qq-article-hero .qq-post-image {
	background: var(--qq-c-surface);
}

.qq-article-hero figcaption {
	margin-top: var(--qq-sp-xs);
	color: var(--qq-c-text-muted);
	font-size: var(--qq-fs-2xs);
}

.qq-article-content {
	max-width: var(--qq-measure-text);
	margin-top: var(--qq-sp-2xl);
	font-size: var(--qq-prose-fs);
	line-height: var(--qq-prose-lh);
}

.qq-article-content > * + * {
	margin-top: var(--qq-sp-lg);
}

.qq-article-content h2,
.qq-article-content h3,
.qq-article-content h4 {
	font-family: var(--qq-c-font-serif);
	font-weight: 600;
	line-height: var(--qq-lh-snug);
}

.qq-article-content h2 {
	margin-top: var(--qq-sp-2xl);
	font-size: var(--qq-fs-3xl);
}

.qq-article-content h3 {
	margin-top: var(--qq-sp-xl);
	font-size: var(--qq-fs-2xl);
}

.qq-article-content h4 {
	font-size: var(--qq-fs-xl);
}

.qq-article-content p,
.qq-article-content li {
	max-width: var(--qq-measure-text);
}

.qq-article-content a {
	color: var(--qq-c-link);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

.qq-article-content a:hover {
	color: var(--qq-c-link-hover);
}

.qq-article-content blockquote,
.qq-article-content .wp-block-quote,
.qq-article-content .wp-block-pullquote {
	margin-inline: 0;
	border-inline-start: var(--qq-bw-rule) solid var(--qq-c-brand-fill);
	padding: var(--qq-sp-sm) 0 var(--qq-sp-sm) var(--qq-sp-lg);
	color: var(--qq-c-text-secondary);
	font-family: var(--qq-c-font-serif);
	font-size: var(--qq-fs-2xl);
	line-height: var(--qq-lh-snug);
}

.qq-article-content blockquote cite,
.qq-article-content .wp-block-quote cite,
.qq-article-content .wp-block-pullquote cite {
	display: block;
	margin-top: var(--qq-sp-sm);
	color: var(--qq-c-text-muted);
	font-family: var(--qq-c-font-sans);
	font-size: var(--qq-fs-xs);
	font-style: normal;
	letter-spacing: var(--qq-tracking-wide);
	text-transform: uppercase;
}

.qq-article-content figure,
.qq-article-content .wp-block-image,
.qq-article-content .wp-block-gallery,
.qq-article-content .wp-block-embed,
.qq-article-content .wp-block-video,
.qq-article-content .wp-block-audio,
.qq-article-content .wp-block-table {
	margin-inline: 0;
}

.qq-article-content img,
.qq-article-content video,
.qq-article-content iframe {
	max-width: 100%;
	border-radius: var(--qq-radius-sm);
}

.qq-article-content figcaption,
.qq-article-content .wp-element-caption {
	margin-top: var(--qq-sp-xs);
	color: var(--qq-c-text-muted);
	font-size: var(--qq-fs-2xs);
}

.qq-article-content pre,
.qq-article-content .wp-block-code {
	overflow-x: auto;
	background: var(--qq-c-sunken);
	padding: var(--qq-sp-md);
	color: var(--qq-c-text);
	font-family: var(--qq-stack-mono);
	font-size: var(--qq-fs-sm);
}

.qq-article-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--qq-fs-sm);
}

.qq-article-content th,
.qq-article-content td {
	border-bottom: 1px solid var(--qq-c-border-strong);
	padding: var(--qq-sp-sm);
	text-align: start;
}

.qq-article-content th {
	font-weight: 600;
}

.qq-article-content .wp-block-button__link,
.qq-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: var(--qq-control-min);
	border: 1px solid var(--qq-c-brand-fill);
	border-radius: var(--qq-radius-pill);
	background: var(--qq-c-brand-fill);
	padding: var(--qq-sp-xs) var(--qq-sp-md);
	color: var(--qq-c-text-on-brand);
	font-size: var(--qq-fs-xs);
	font-weight: 600;
	text-decoration: none;
}

.qq-article-content .wp-block-button__link:hover,
.qq-button:hover {
	border-color: var(--qq-c-brand-fill-hover);
	background: var(--qq-c-brand-fill-hover);
	color: var(--qq-c-text-on-brand);
}

.qq-article-footer {
	max-width: var(--qq-measure-text);
	margin-top: var(--qq-sp-xl);
	border-top: 1px solid var(--qq-c-border-strong);
	padding-top: var(--qq-sp-md);
}

.qq-article-tags {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: var(--qq-sp-xs) var(--qq-sp-sm);
	color: var(--qq-c-link);
	font-size: var(--qq-fs-xs);
}

.qq-article-tags .qq-eyebrow {
	color: var(--qq-c-text-muted);
}

.qq-article-tags a {
	color: var(--qq-c-link);
}

.qq-author-card {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--qq-sp-md);
	max-width: var(--qq-measure-text);
	margin-top: var(--qq-sp-3xl);
	border-block: 1px solid var(--qq-c-border-strong);
	padding-block: var(--qq-sp-lg);
}

.qq-author-card__portrait,
.qq-author-card__avatar {
	width: 5rem;
	height: 5rem;
}

.qq-author-card__avatar {
	border-radius: 50%;
	object-fit: cover;
}

.qq-author-card__copy h2 {
	margin-top: var(--qq-sp-2xs);
	font-family: var(--qq-c-font-serif);
	font-size: var(--qq-fs-2xl);
	line-height: var(--qq-lh-snug);
}

.qq-author-card__copy h2 a {
	color: var(--qq-c-text);
}

.qq-author-card__copy h2 a:hover {
	color: var(--qq-c-link);
}

.qq-author-card__bio {
	margin-top: var(--qq-sp-xs);
	color: var(--qq-c-text-secondary);
	font-size: var(--qq-fs-sm);
}

.qq-author-card__bio p + p {
	margin-top: var(--qq-sp-xs);
}

.qq-author-card .qq-text-link {
	display: inline-flex;
	margin-top: var(--qq-sp-sm);
	color: var(--qq-c-link);
	font-size: var(--qq-fs-xs);
	font-weight: 600;
}

.qq-page-header {
	max-width: var(--qq-measure-text);
	border-top: var(--qq-bw-thick) solid var(--qq-c-text);
	padding-top: var(--qq-sp-md);
}

.qq-page-header h1 {
	margin-top: var(--qq-sp-sm);
	font-family: var(--qq-c-font-serif);
	font-size: clamp(2.5rem, 8vw, 5rem);
	font-weight: 600;
	letter-spacing: var(--qq-tracking-tight);
	line-height: var(--qq-lh-tight);
}

.qq-page-dek {
	max-width: 52ch;
	margin-top: var(--qq-sp-md);
	color: var(--qq-c-text-secondary);
	font-family: var(--qq-c-font-serif);
	font-size: var(--qq-fs-lg);
	line-height: var(--qq-lh-relaxed);
}

.qq-page-content {
	max-width: var(--qq-measure-text);
	margin-top: var(--qq-sp-2xl);
}

.qq-page-content > * + * {
	margin-top: var(--qq-sp-lg);
}

/* Native comments, given the same quiet hierarchy as the article. */
.comments-area {
	max-width: var(--qq-measure-text);
	margin-top: var(--qq-sp-4xl);
	border-top: var(--qq-bw-thick) solid var(--qq-c-text);
	padding-top: var(--qq-sp-md);
}

.comments-title {
	font-family: var(--qq-c-font-serif);
	font-size: var(--qq-fs-2xl);
	line-height: var(--qq-lh-snug);
}

.comment-list,
.comment-list .children {
	margin: var(--qq-sp-xl) 0 0;
	padding: 0;
	list-style: none;
}

.comment-list .children {
	margin-top: var(--qq-sp-md);
	padding-inline-start: var(--qq-sp-lg);
}

.comment-body {
	border-bottom: 1px solid var(--qq-c-border-strong);
	padding-block: var(--qq-sp-md);
}

.comment-meta {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: var(--qq-sp-xs);
	color: var(--qq-c-text-muted);
	font-size: var(--qq-fs-2xs);
}

.comment-author {
	color: var(--qq-c-text);
	font-size: var(--qq-fs-sm);
	font-weight: 600;
}

.comment-author .avatar {
	width: 2.5rem;
	height: 2.5rem;
	margin-inline-end: var(--qq-sp-xs);
	border-radius: 50%;
	vertical-align: middle;
}

.comment-metadata a {
	color: var(--qq-c-link);
	text-decoration: none;
}

.comment-content {
	margin-top: var(--qq-sp-sm);
	color: var(--qq-c-text-secondary);
	font-size: var(--qq-fs-sm);
	line-height: var(--qq-lh-relaxed);
}

.comment-content p + p {
	margin-top: var(--qq-sp-sm);
}

.comment-reply-link,
.comment-edit-link {
	display: inline-flex;
	align-items: center;
	min-height: var(--qq-control-min);
	margin-top: var(--qq-sp-xs);
	color: var(--qq-c-link);
	font-size: var(--qq-fs-2xs);
	font-weight: 600;
	text-decoration: none;
}

.comment-reply-link:hover,
.comment-edit-link:hover {
	color: var(--qq-c-link-hover);
}

.comment-respond {
	margin-top: var(--qq-sp-2xl);
	border-top: 1px solid var(--qq-c-border-strong);
	padding-top: var(--qq-sp-lg);
}

.comment-reply-title {
	font-family: var(--qq-c-font-serif);
	font-size: var(--qq-fs-xl);
}

.comment-form {
	display: grid;
	gap: var(--qq-sp-sm);
	margin-top: var(--qq-sp-md);
}

.comment-form label {
	display: block;
	margin-bottom: var(--qq-sp-2xs);
	color: var(--qq-c-text-secondary);
	font-size: var(--qq-fs-xs);
	font-weight: 600;
}

.comment-form input:not([type="submit"]):not([type="checkbox"]),
.comment-form textarea {
	width: 100%;
	border: 1px solid var(--qq-c-field-border);
	border-radius: var(--qq-radius-sm);
	background: var(--qq-c-raised);
	padding: var(--qq-sp-sm);
	color: var(--qq-c-text);
	font: inherit;
}

.comment-form textarea {
	min-height: 9rem;
	resize: vertical;
}

.comment-form .form-submit {
	margin: 0;
}

.comment-form .submit {
	min-height: var(--qq-control-min);
	border: 1px solid var(--qq-c-brand-fill);
	border-radius: var(--qq-radius-pill);
	background: var(--qq-c-brand-fill);
	padding-inline: var(--qq-sp-md);
	color: var(--qq-c-text-on-brand);
	font-size: var(--qq-fs-xs);
	font-weight: 600;
}

.comment-form .submit:hover {
	border-color: var(--qq-c-brand-fill-hover);
	background: var(--qq-c-brand-fill-hover);
}

.comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: var(--qq-sp-xs);
	color: var(--qq-c-text-muted);
	font-size: var(--qq-fs-2xs);
}

.comment-form-cookies-consent input[type="checkbox"] {
	width: 1.25rem;
	height: 1.25rem;
	margin-top: .1rem;
	accent-color: var(--qq-c-brand-fill);
}

.qq-related-section {
	max-width: var(--qq-measure-text);
	margin-top: var(--qq-sp-4xl);
}

.qq-section-heading {
	border-top: var(--qq-bw-thick) solid var(--qq-c-text);
	padding-top: var(--qq-sp-sm);
}

.qq-section-heading h2 {
	margin-top: var(--qq-sp-2xs);
	font-family: var(--qq-c-font-serif);
	font-size: var(--qq-fs-3xl);
	line-height: var(--qq-lh-tight);
}

.qq-related-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--qq-sp-md);
	margin-top: var(--qq-sp-lg);
}

.qq-related-card {
	min-width: 0;
	border-bottom: 1px solid var(--qq-c-border-strong);
}

.qq-related-card__link {
	display: block;
	height: 100%;
	color: var(--qq-c-text);
	text-decoration: none;
}

.qq-related-card__media,
.qq-archive-card__media,
.qq-search-card__media,
.qq-author-article-card__media {
	overflow: hidden;
	background: var(--qq-c-surface);
	aspect-ratio: 3 / 2;
}

.qq-related-card__media .qq-post-image,
.qq-archive-card__media .qq-post-image,
.qq-search-card__media .qq-post-image,
.qq-author-article-card__media .qq-post-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--qq-dur-base) var(--qq-ease-out);
}

.qq-related-card__link:hover .qq-post-image,
.qq-archive-card__link:hover .qq-post-image,
.qq-search-card__link:hover .qq-post-image,
.qq-author-article-card__link:hover .qq-post-image {
	transform: scale(1.03);
}

.qq-image-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 8rem;
	background: linear-gradient(135deg, var(--qq-c-surface), var(--qq-c-wash));
}

.qq-related-card__copy {
	padding-block: var(--qq-sp-sm) var(--qq-sp-md);
}

.qq-related-card__copy .qq-category,
.qq-archive-card__body .qq-category,
.qq-search-card__body .qq-category,
.qq-author-article-card__body .qq-category {
	margin-bottom: var(--qq-sp-xs);
}

.qq-related-card h3 {
	font-family: var(--qq-c-font-serif);
	font-size: var(--qq-fs-lg);
	line-height: var(--qq-lh-snug);
}

.qq-related-card time {
	display: block;
	margin-top: var(--qq-sp-sm);
	color: var(--qq-c-text-muted);
	font-size: var(--qq-fs-2xs);
}

/* Archive and search views. */
.qq-archive-header,
.qq-search-header {
	border-top: var(--qq-bw-thick) solid var(--qq-c-text);
	padding-top: var(--qq-sp-md);
}

.qq-archive-title,
.qq-search-title {
	max-width: 20ch;
	margin-top: var(--qq-sp-xs);
	font-family: var(--qq-c-font-serif);
	font-size: var(--qq-fs-4xl);
	font-weight: 600;
	letter-spacing: var(--qq-tracking-tight);
	line-height: var(--qq-lh-tight);
}

.qq-archive-description {
	max-width: 62ch;
	margin-top: var(--qq-sp-md);
	color: var(--qq-c-text-secondary);
	font-family: var(--qq-c-font-serif);
	font-size: var(--qq-fs-lg);
	line-height: var(--qq-lh-relaxed);
}

.qq-archive-description p + p {
	margin-top: var(--qq-sp-sm);
}

.qq-archive-count,
.qq-search-count {
	margin-top: var(--qq-sp-md);
	color: var(--qq-c-text-muted);
	font-size: var(--qq-fs-xs);
}

.qq-archive-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--qq-sp-xl) var(--qq-sp-md);
	margin-top: var(--qq-sp-2xl);
}

.qq-archive-card {
	min-width: 0;
	border-bottom: 1px solid var(--qq-c-border-strong);
	padding-bottom: var(--qq-sp-md);
}

.qq-archive-card--lead {
	grid-column: 1 / -1;
	display: block;
	gap: var(--qq-sp-lg);
	border-bottom-color: var(--qq-c-border-strong);
	padding-bottom: var(--qq-sp-lg);
}

.qq-archive-card--lead .qq-archive-card__media {
	aspect-ratio: 16 / 8;
}

.qq-archive-card__link,
.qq-search-card__link,
.qq-author-article-card__link {
	display: block;
	color: var(--qq-c-text);
	text-decoration: none;
}

.qq-archive-card__body {
	padding-top: var(--qq-sp-sm);
}

.qq-archive-card--lead .qq-archive-card__body {
	padding-top: var(--qq-sp-sm);
}

.qq-archive-card h2,
.qq-search-card h2,
.qq-author-article-card h3 {
	font-family: var(--qq-c-font-serif);
	font-size: var(--qq-fs-2xl);
	line-height: var(--qq-lh-snug);
}

.qq-archive-card--lead h2 {
	font-size: var(--qq-fs-3xl);
	letter-spacing: var(--qq-tracking-tight);
	line-height: var(--qq-lh-tight);
}

.qq-archive-card__link:hover h2,
.qq-search-card__link:hover h2,
.qq-author-article-card__link:hover h3 {
	color: var(--qq-c-link);
}

.qq-archive-card__excerpt,
.qq-author-article-card__excerpt {
	margin-top: var(--qq-sp-sm);
	color: var(--qq-c-text-secondary);
	font-size: var(--qq-fs-sm);
	line-height: var(--qq-lh-relaxed);
}

.qq-archive-card__meta,
.qq-search-card__meta,
.qq-author-article-card__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: var(--qq-sp-xs);
	margin-top: var(--qq-sp-md);
	color: var(--qq-c-text-muted);
	font-size: var(--qq-fs-2xs);
}

.qq-archive-card__meta > * + *,
.qq-search-card__meta > * + *,
.qq-author-article-card__meta > * + * {
	border-inline-start: 1px solid var(--qq-c-border-strong);
	padding-inline-start: var(--qq-sp-xs);
}

.qq-search-list {
	display: grid;
	gap: 0;
	margin-top: var(--qq-sp-2xl);
}

.qq-search-card {
	border-bottom: 1px solid var(--qq-c-border-strong);
	padding-block: var(--qq-sp-lg);
}

.qq-search-card:first-child {
	padding-top: 0;
}

.qq-search-card__link {
	display: grid;
	grid-template-columns: 7rem minmax(0, 1fr);
	gap: var(--qq-sp-sm);
}

.qq-search-card__body {
	min-width: 0;
}

.qq-search-card__excerpt {
	margin-top: var(--qq-sp-sm);
	color: var(--qq-c-text-secondary);
	font-size: var(--qq-fs-sm);
	line-height: var(--qq-lh-relaxed);
	display: none;
}

.qq-search-card__excerpt p {
	margin: 0;
}

.qq-empty-state {
	margin-top: var(--qq-sp-2xl);
	border-top: 1px solid var(--qq-c-border-strong);
	background: var(--qq-c-wash);
	padding: var(--qq-sp-xl);
}

.qq-empty-state h2,
.qq-empty-state h3 {
	margin-top: var(--qq-sp-xs);
	font-family: var(--qq-c-font-serif);
	font-size: var(--qq-fs-2xl);
}

.qq-empty-state > p:not(.qq-eyebrow) {
	margin-top: var(--qq-sp-sm);
	color: var(--qq-c-text-secondary);
}

.qq-empty-state .qq-button,
.qq-empty-state .search-form {
	margin-top: var(--qq-sp-lg);
}

/* Author profile. */
.qq-author-profile {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--qq-sp-md);
	border-top: var(--qq-bw-thick) solid var(--qq-c-text);
	padding-top: var(--qq-sp-md);
}

.qq-author-profile__portrait,
.qq-author-profile__avatar {
	width: clamp(7rem, 16vw, 10rem);
	height: clamp(7rem, 16vw, 10rem);
}

.qq-author-profile__avatar {
	border-radius: 50%;
	background: var(--qq-c-surface);
	object-fit: cover;
}

.qq-author-profile__name {
	margin-top: var(--qq-sp-xs);
	font-family: var(--qq-c-font-serif);
	font-size: var(--qq-fs-3xl);
	font-weight: 600;
	letter-spacing: var(--qq-tracking-tight);
	line-height: var(--qq-lh-tight);
}

.qq-author-verified {
	display: inline-grid;
	place-items: center;
	width: 1.4em;
	height: 1.4em;
	margin-inline-start: var(--qq-sp-xs);
	border-radius: 50%;
	background: var(--qq-c-brand-fill);
	color: var(--qq-c-text-on-brand);
	font-family: var(--qq-c-font-sans);
	font-size: 0.45em;
	vertical-align: 0.2em;
}

.qq-author-profile__role {
	margin-top: var(--qq-sp-xs);
	color: var(--qq-c-brand-ink);
	font-size: var(--qq-fs-xs);
	font-weight: 600;
	letter-spacing: var(--qq-tracking-wide);
	text-transform: uppercase;
}

.qq-author-profile__bio {
	max-width: 58ch;
	margin-top: var(--qq-sp-md);
	color: var(--qq-c-text-secondary);
	font-family: var(--qq-c-font-serif);
	font-size: var(--qq-fs-lg);
	line-height: var(--qq-lh-relaxed);
}

.qq-author-profile__bio p + p {
	margin-top: var(--qq-sp-sm);
}

.qq-author-profile__website {
	display: inline-flex;
	margin-top: var(--qq-sp-md);
	color: var(--qq-c-link);
	font-size: var(--qq-fs-xs);
	font-weight: 600;
}

.qq-author-profile__stats {
	grid-column: 1 / -1;
	display: flex;
	gap: var(--qq-sp-lg);
	margin: 0;
	border-top: 1px solid var(--qq-c-border-strong);
	padding-top: var(--qq-sp-md);
}

.qq-author-profile__stats div {
	display: flex;
	flex-direction: column-reverse;
	gap: var(--qq-sp-2xs);
}

.qq-author-profile__stats dt {
	color: var(--qq-c-text-muted);
	font-size: var(--qq-fs-2xs);
	letter-spacing: var(--qq-tracking-wide);
	text-transform: uppercase;
}

.qq-author-profile__stats dd {
	font-family: var(--qq-c-font-serif);
	font-size: var(--qq-fs-2xl);
	font-weight: 600;
}

.qq-author-topics {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: var(--qq-sp-xs) var(--qq-sp-sm);
	margin-top: var(--qq-sp-xl);
	border-bottom: 1px solid var(--qq-c-border-strong);
	padding-bottom: var(--qq-sp-md);
}

.qq-author-topics a {
	border: 1px solid var(--qq-c-field-border);
	border-radius: var(--qq-radius-pill);
	padding: var(--qq-sp-2xs) var(--qq-sp-sm);
	color: var(--qq-c-text);
	font-size: var(--qq-fs-2xs);
	text-decoration: none;
}

.qq-author-topics a:hover {
	border-color: var(--qq-c-brand-fill);
	color: var(--qq-c-link);
}

.qq-author-articles {
	margin-top: var(--qq-sp-3xl);
}

.qq-author-articles__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--qq-sp-xl) var(--qq-sp-md);
	margin-top: var(--qq-sp-xl);
}

.qq-author-article-card {
	min-width: 0;
	border-bottom: 1px solid var(--qq-c-border-strong);
	padding-bottom: var(--qq-sp-md);
}

.qq-author-article-card__body {
	padding-top: var(--qq-sp-sm);
}

/* WordPress pagination and native widgets. */
.posts-navigation,
.pagination,
.post-navigation {
	margin-top: var(--qq-sp-2xl);
}

.nav-links {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--qq-sp-sm);
	border-top: 1px solid var(--qq-c-border-strong);
	padding-top: var(--qq-sp-md);
}

.nav-links a,
.page-numbers {
	color: var(--qq-c-link);
	font-size: var(--qq-fs-xs);
	font-weight: 600;
	text-decoration: none;
}

.page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: var(--qq-control-min);
	min-height: var(--qq-control-min);
	padding-inline: var(--qq-sp-xs);
}

.page-numbers.current {
	background: var(--qq-c-text);
	color: var(--qq-c-canvas);
}

.page-numbers:hover {
	color: var(--qq-c-link-hover);
}

.page-numbers.current:hover {
	color: var(--qq-c-canvas);
}

.widget-area .widget {
	border-top: var(--qq-bw-thick) solid var(--qq-c-text);
	padding-top: var(--qq-sp-sm);
}

.widget-area .widget + .widget {
	margin-top: var(--qq-sp-xl);
}

.widget-area .widget-title {
	font-family: var(--qq-c-font-serif);
	font-size: var(--qq-fs-xl);
}

.widget-area .widget ul {
	margin-top: var(--qq-sp-sm);
	padding: 0;
	list-style: none;
}

.widget-area .widget li {
	border-bottom: 1px solid var(--qq-c-border-strong);
	padding-block: var(--qq-sp-xs);
	font-size: var(--qq-fs-sm);
}

.widget-area .widget a {
	color: var(--qq-c-text);
	text-decoration: none;
}

.widget-area .widget a:hover {
	color: var(--qq-c-link);
}

.search-form {
	display: flex;
	align-items: stretch;
	gap: var(--qq-sp-xs);
}

.search-form label {
	flex: 1;
}

.search-form .search-field {
	width: 100%;
	min-height: var(--qq-control-min);
	border: 1px solid var(--qq-c-field-border);
	border-radius: var(--qq-radius-sm);
	background: var(--qq-c-raised);
	padding: var(--qq-sp-xs) var(--qq-sp-sm);
	color: var(--qq-c-text);
}

.search-form .search-submit {
	min-height: var(--qq-control-min);
	border: 1px solid var(--qq-c-brand-fill);
	border-radius: var(--qq-radius-sm);
	background: var(--qq-c-brand-fill);
	padding-inline: var(--qq-sp-sm);
	color: var(--qq-c-text-on-brand);
	font-size: var(--qq-fs-xs);
	font-weight: 600;
}

@media ( min-width: 768px ) {
	.qq-site-main {
		padding-block: var(--qq-sp-3xl) var(--qq-sp-5xl);
	}

	.qq-reader-layout {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(13rem, 18rem);
	}

	.qq-article-title {
		max-width: 22ch;
		font-size: clamp(2.35rem, 5.5vw, 5rem);
	}

	.qq-article-dek {
		font-size: var(--qq-fs-lg);
	}

	.qq-related-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.qq-archive-title,
	.qq-search-title {
		font-size: var(--qq-fs-5xl);
	}

	.qq-archive-grid,
	.qq-author-articles__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.qq-archive-card--lead {
		display: grid;
		grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	}

	.qq-archive-card--lead .qq-archive-card__body {
		align-self: center;
		padding-top: 0;
	}

	.qq-archive-card--lead h2 {
		font-size: var(--qq-fs-4xl);
	}

	.qq-search-card__link {
		grid-template-columns: minmax(9rem, 14rem) minmax(0, 1fr);
		gap: var(--qq-sp-lg);
	}

	.qq-search-card h2 {
		font-size: var(--qq-fs-2xl);
	}

	.qq-search-card__excerpt {
		display: block;
	}

	.qq-author-profile {
		grid-template-columns: auto minmax(0, 1fr);
		gap: var(--qq-sp-xl);
	}

	.qq-author-profile__portrait {
		order: 0;
	}

	.qq-author-profile__name {
		font-size: var(--qq-fs-4xl);
	}

	.qq-author-profile__stats {
		gap: var(--qq-sp-xl);
	}

	.qq-author-card {
		grid-template-columns: auto minmax(0, 1fr);
	}
}

@media ( min-width: 1024px ) {
	.qq-reader-layout > .widget-area {
		position: sticky;
		top: var(--qq-sp-xl);
		margin-top: 0;
		padding-top: var(--qq-sp-xl);
	}

	.qq-article-column {
		padding-inline-start: clamp(0rem, 4vw, 5rem);
	}
}

.qq-reader-tools {
	display: flex;
	flex-wrap: wrap;
	gap: var(--qq-sp-sm);
	margin-block: var(--qq-sp-lg);
	font-size: var(--qq-fs-xs);
}
.qq-reader-tools > a,
.qq-reader-tools > button {
	display: inline-flex;
	align-items: center;
	min-height: var(--qq-control-min);
	border: 1px solid var(--qq-c-border-strong);
	border-radius: var(--qq-radius-sm);
	padding: var(--qq-sp-xs) var(--qq-sp-sm);
	background: var(--qq-c-canvas);
	color: var(--qq-c-text);
	font: inherit;
	text-decoration: none;
	cursor: pointer;
}
.qq-reader-tools [hidden], .qq-article-toc[hidden], .qq-reading-progress[hidden] { display: none; }
.qq-reader-tools > a:hover, .qq-reader-tools > button:hover { background: var(--qq-c-wash); }
.qq-reader-status, .qq-copy-fallback { flex-basis: 100%; }
.qq-reader-status:empty { display: none; }
.qq-copy-fallback input { width: 100%; color: var(--qq-c-text); background: var(--qq-c-canvas); }
.qq-reading-progress { position: fixed; inset: 0 0 auto; height: 4px; z-index: 100001; pointer-events: none; }
.qq-reading-progress span { display: block; height: 100%; background: var(--qq-c-brand); transform: scaleX(0); transform-origin: left center; }
[dir="rtl"] .qq-reading-progress span { transform-origin: right center; }
.qq-article-toc { margin-block: var(--qq-sp-lg); border-block: 1px solid var(--qq-c-border-strong); padding-block: var(--qq-sp-sm); font-size: var(--qq-fs-sm); }
.qq-article-toc summary { cursor: pointer; padding-block: var(--qq-sp-sm); font-weight: 600; }
.qq-article-toc ol { padding-inline-start: var(--qq-sp-lg); }
.qq-article-toc li { margin-block: var(--qq-sp-xs); }
.qq-article-content :is(h2,h3)[id] { scroll-margin-block-start: var(--qq-sp-xl); }
.qq-reader-newsletter { margin-block: var(--qq-sp-2xl); padding: var(--qq-sp-xl); background: var(--qq-c-wash); border-radius: var(--qq-radius-md); }
.qq-reader-newsletter h2 { margin-block: var(--qq-sp-sm) var(--qq-sp-lg); font-family: var(--qq-c-font-serif); }

@media print {
	.qq-reader-tools, .qq-reading-progress, .qq-reader-newsletter, .qq-article-toc { display: none !important; }
	.qq-site-main {
		padding: 0;
	}

	.site-header,
	.site-footer,
	.widget-area,
	.qq-breadcrumbs,
	.qq-related-section,
	.qq-author-card,
	.comments-area,
	.posts-navigation,
	.pagination {
		display: none !important;
	}

	.qq-reader-layout {
		display: block;
	}

	.qq-article-column {
		padding: 0;
	}

	.qq-article-content a {
		color: inherit;
		text-decoration: underline;
	}

	.qq-article-content a[href]::after {
		content: ' (' attr(href) ')';
		font-size: 0.8em;
		word-break: break-all;
	}
}

