/*
Theme Name: Rory Parle 2026
Theme URI: https://roryparle.com/
Author: Rory Parle
Author URI: https://roryparle.com/
Description: Editorial personal blog theme for roryparle.com — Charter / Source Serif 4 body prose, Oxygen headings, warm paper & soot light/dark surfaces, Soylent Red rubrication accents, three-dot juggling end-marks, On This Day footer recall, and zero jQuery.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: roryparle2026
*/

/* ==========================================================================
   1. Self-Hosted Fonts (Oxygen + Source Serif 4)
   ========================================================================== */
@font-face {
	font-family: 'Oxygen';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('./fonts/oxygen-latin-ext-400.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: 'Oxygen';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('./fonts/oxygen-latin-400.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'Oxygen';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('./fonts/oxygen-latin-ext-700.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: 'Oxygen';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('./fonts/oxygen-latin-700.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'Source Serif 4';
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url('./fonts/source-serif-4-latin-ext-roman.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: 'Source Serif 4';
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url('./fonts/source-serif-4-latin-roman.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'Source Serif 4';
	font-style: italic;
	font-weight: 300 700;
	font-display: swap;
	src: url('./fonts/source-serif-4-latin-ext-italic.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: 'Source Serif 4';
	font-style: italic;
	font-weight: 300 700;
	font-display: swap;
	src: url('./fonts/source-serif-4-latin-italic.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   2. Color Tokens (Warm Paper & Warm Soot + Soylent Red Oxblood Rubrication)
   ========================================================================== */
:root {
	--rp-bg: #fbfaf7;
	--rp-surface: #f2efe9;
	--rp-fg: #242321;
	--rp-heading: #141312;
	--rp-muted: #6e6a63;
	--rp-border: #dfdbd2;
	--rp-link: #962626;
	--rp-link-hover: #661515;
	--rp-mark: #962626;
	--rp-code-bg: #f3f0ea;
	--font-prose: Charter, 'Source Serif 4', 'Iowan Old Style', Palatino, Georgia, serif;
	--font-ui: 'Oxygen', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'DejaVu Sans Mono', monospace;
}

@media (prefers-color-scheme: dark) {
	:root {
		--rp-bg: #181716;
		--rp-surface: #22201e;
		--rp-fg: #dedbd4;
		--rp-heading: #f4f1ea;
		--rp-muted: #9a948b;
		--rp-border: #2e2c29;
		--rp-link: #df827d;
		--rp-link-hover: #f3aba7;
		--rp-mark: #df827d;
		--rp-code-bg: #131211;
	}
}

/* ==========================================================================
   3. Base Reset & Accessibility
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	background-color: var(--rp-bg);
	color: var(--rp-fg);
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
}

body {
	background-color: var(--rp-bg);
	color: var(--rp-fg);
	font-family: var(--font-prose);
	font-size: 1.09375rem;
	line-height: 1.72;
	margin: 0;
	text-rendering: optimizeLegibility;
}

.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: var(--rp-surface);
	border: 1px solid var(--rp-border);
	clip-path: none;
	color: var(--rp-heading);
	display: block;
	font-family: var(--font-ui);
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 1rem;
	padding: 0.6rem 1rem;
	top: 1rem;
	width: auto;
	z-index: 100000;
}

a {
	color: var(--rp-link);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
	color: var(--rp-link-hover);
}

h1, h2, h3, h4, h5, h6 {
	color: var(--rp-heading);
	font-family: var(--font-ui);
	font-weight: 700;
	letter-spacing: -0.014em;
	line-height: 1.25;
	margin: 1.75em 0 0.55em 0;
}

img,
video,
svg {
	height: auto;
	max-width: 100%;
}

/* ==========================================================================
   4. Shell & Masthead
   ========================================================================== */
.rp-shell {
	margin: 0 auto;
	max-width: 44rem;
	padding: clamp(2.25rem, 5vw, 3.5rem) clamp(1.25rem, 5vw, 2.25rem) clamp(3rem, 6vw, 4.5rem);
}

.rp-masthead {
	align-items: baseline;
	border-bottom: 1px solid var(--rp-border);
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.75rem;
	justify-content: space-between;
	margin-bottom: clamp(2.4rem, 5vw, 3.4rem);
	padding-bottom: 1.15rem;
}

.rp-brand {
	color: var(--rp-heading);
	font-family: var(--font-ui);
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: -0.018em;
	line-height: 1.2;
	margin: 0;
	text-decoration: none;
}

.rp-brand a {
	color: inherit;
	text-decoration: none;
}

.rp-brand a:hover,
.rp-brand a:focus-visible {
	color: var(--rp-link);
}

.rp-nav ul {
	display: flex;
	flex-wrap: wrap;
	font-family: var(--font-ui);
	font-size: 0.925rem;
	gap: 0.35rem 1.35rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.rp-nav a {
	color: var(--rp-muted);
	text-decoration: none;
}

.rp-nav a:hover,
.rp-nav a:focus-visible {
	color: var(--rp-link);
	text-decoration: underline;
	text-underline-offset: 0.22em;
}

.rp-nav .current-menu-item > a,
.rp-nav .current_page_item > a,
.rp-nav a[aria-current="page"] {
	color: var(--rp-heading);
	font-weight: 700;
}

/* ==========================================================================
   5. Archive Headers, Post Stream & Single Articles
   ========================================================================== */
.rp-archive-header {
	border-bottom: 1px solid var(--rp-border);
	margin-bottom: 2.5rem;
	padding-bottom: 1.1rem;
}

.rp-archive-title {
	font-size: clamp(1.5rem, 1.25rem + 1vw, 1.9rem);
	margin: 0;
}

.rp-archive-meta {
	color: var(--rp-muted);
	font-family: var(--font-ui);
	font-size: 0.875rem;
	margin: 0.35rem 0 0 0;
}

.rp-entry {
	margin: 0;
}

.rp-post-sep {
	border: 0;
	border-top: 1px solid var(--rp-border);
	margin: 2.75rem 0;
}

.entry-header {
	margin-bottom: 1.15rem;
}

.single .entry-header,
.page .entry-header {
	margin-bottom: 1.65rem;
}

.entry-title {
	font-size: clamp(1.45rem, 1.25rem + 0.85vw, 1.8rem);
	line-height: 1.26;
	margin: 0 0 0.3rem 0;
}

.single .entry-title,
.page .entry-title {
	font-size: clamp(1.65rem, 1.35rem + 1.2vw, 2.15rem);
	line-height: 1.2;
	margin: 0 0 0.4rem 0;
}

.entry-title a {
	color: var(--rp-heading);
	text-decoration: none;
}

.entry-title a:hover,
.entry-title a:focus-visible {
	color: var(--rp-link);
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 0.15em;
}

.entry-meta {
	color: var(--rp-muted);
	font-family: var(--font-ui);
	font-size: 0.875rem;
	line-height: 1.45;
}

.entry-meta a {
	color: inherit;
	text-decoration: none;
}

.entry-meta a:hover,
.entry-meta a:focus-visible {
	color: var(--rp-link);
	text-decoration: underline;
}

/* ==========================================================================
   6. Prose Content (.entry-content)
   ========================================================================== */
.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content > *:last-child {
	margin-bottom: 0;
}

.entry-content p {
	margin: 0 0 1.2em 0;
}

.entry-content ul,
.entry-content ol {
	margin: 0 0 1.25em 0;
	padding-left: 1.45rem;
}

.entry-content li {
	margin-bottom: 0.35em;
}

.entry-content li > ul,
.entry-content li > ol {
	margin-bottom: 0.35em;
	margin-top: 0.35em;
}

.entry-content h2 {
	font-size: 1.375rem;
}

.entry-content h3 {
	font-size: 1.175rem;
}

.entry-content h4 {
	font-size: 1.05rem;
}

.entry-content hr {
	border: 0;
	border-top: 1px solid var(--rp-border);
	margin: 2.25em auto;
	max-width: 8rem;
}

/* Literary blockquote: subtle neutral hairline + indentation, inline mid-sentence <cite> safe */
.entry-content blockquote {
	border-left: 1px solid var(--rp-border);
	color: var(--rp-muted);
	font-style: italic;
	margin: 1.6em 0;
	padding: 0.05em 0 0.05em 1.35rem;
}

.entry-content blockquote p:last-child {
	margin-bottom: 0;
}

.entry-content blockquote cite {
	font-style: normal;
}

.entry-content blockquote p cite:not(:only-child),
.entry-content blockquote li cite:not(:only-child),
.entry-content blockquote cite[class] {
	display: inline;
	font-style: italic;
}

/* Inline & block code */
.entry-content code,
.entry-content kbd,
.entry-content samp {
	background-color: var(--rp-code-bg);
	border-radius: 2px;
	font-family: var(--font-mono);
	font-size: 0.85em;
	padding: 0.12em 0.32em;
}

.entry-content pre:not(.poem) {
	background-color: var(--rp-code-bg);
	border: 1px solid var(--rp-border);
	border-radius: 2px;
	font-family: var(--font-mono);
	font-size: 0.84rem;
	line-height: 1.58;
}

.entry-content pre:not(.poem) code {
	background: transparent;
	padding: 0;
}

.entry-content .roryparle-copy-code {
	background: transparent;
	border: 0;
	border-radius: 2px;
	color: var(--rp-muted);
	font-family: var(--font-ui);
	font-size: 0.75rem;
	font-weight: 400;
	opacity: 0.72;
	padding: 0.25rem 0.45rem;
}

.entry-content .roryparle-copy-code:hover,
.entry-content .roryparle-copy-code:focus-visible,
.entry-content .roryparle-copy-code.is-copied {
	background: var(--rp-surface);
	color: var(--rp-heading);
	opacity: 1;
}

/* Figures, images, captions & alignments */
.entry-content figure,
.entry-content .wp-caption {
	margin: 1.65em 0;
	max-width: 100%;
}

.entry-content figcaption,
.entry-content .wp-caption-text {
	color: var(--rp-muted);
	font-family: var(--font-ui);
	font-size: 0.825rem;
	line-height: 1.45;
	margin-top: 0.5rem;
}

.entry-content .alignleft {
	float: left;
	margin: 0.35em 1.5rem 1em 0;
	max-width: 48%;
}

.entry-content .alignright {
	float: right;
	margin: 0.35em 0 1em 1.5rem;
	max-width: 48%;
}

.entry-content .aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.entry-content::after {
	clear: both;
	content: '';
	display: table;
}

/* Tables */
.entry-content table {
	border-collapse: collapse;
	font-family: var(--font-ui);
	font-size: 0.925rem;
	margin: 1.5em 0;
	width: 100%;
}

.entry-content th,
.entry-content td {
	border-bottom: 1px solid var(--rp-border);
	padding: 0.55rem 0.65rem;
	text-align: left;
}

.entry-content th {
	color: var(--rp-heading);
	font-weight: 700;
}

/* Gutenberg buttons */
.entry-content .wp-block-button__link {
	background-color: var(--rp-heading);
	border-radius: 2px;
	color: var(--rp-bg);
	font-family: var(--font-ui);
	font-size: 0.9rem;
	font-weight: 700;
	padding: 0.55em 1.15em;
	text-decoration: none;
}

.entry-content .wp-block-button__link:hover,
.entry-content .wp-block-button__link:focus-visible {
	background-color: var(--rp-link);
	color: #fff;
}

/* Three-dot juggling cascade end-of-post mark (Soylent Red) */
.roryparle-end-mark {
	color: var(--rp-mark);
	display: inline-block;
	font-family: var(--font-prose);
	font-size: 1.05em;
	font-style: normal;
	font-weight: 700;
	letter-spacing: 0.04em;
	margin-left: 0.25em;
	user-select: none;
	vertical-align: -0.03em;
}

.roryparle-end-mark-block {
	margin: -0.5em 0 1.2em 0;
}

/* Prose tag footer on single posts */
.rp-entry-tags {
	color: var(--rp-muted);
	font-family: var(--font-ui);
	font-size: 0.875rem;
	margin-top: 1.85rem;
}

/* ==========================================================================
   7. Editorial Overrides for roryparle-site Plugin Components
   ========================================================================== */

/* Old-post notice: quiet italic marginalia instead of a tinted left-border box */
.roryparle-old-post-notice {
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--rp-border);
	color: var(--rp-muted);
	font-family: var(--font-prose);
	font-size: 0.94rem;
	font-style: italic;
	margin: 0 0 1.75rem 0;
	opacity: 1;
	padding: 0 0 0.75rem 0;
}

/* Smart excerpt "Continue reading ->" link */
.entry-content p.roryparle-read-more {
	font-family: var(--font-ui);
	margin: 0.75rem 0 0 0;
}

.entry-content a.roryparle-more-link {
	box-shadow: none;
	color: var(--rp-link);
	font-size: 0.9rem;
	font-weight: 400;
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.entry-content a.roryparle-more-link:hover,
.entry-content a.roryparle-more-link:focus-visible {
	box-shadow: none;
	color: var(--rp-link-hover);
}

/* Related posts: sentence-case heading & calm proportions */
.roryparle-related-posts {
	border-top: 1px solid var(--rp-border);
	font-family: var(--font-ui);
	margin: 2.5rem 0 0 0;
	padding-top: 1.65rem;
}

.entry-content .roryparle-related-posts__heading,
.roryparle-related-posts__heading {
	color: var(--rp-heading);
	font-family: var(--font-ui);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	margin: 0 0 0.75rem 0;
	opacity: 1;
	text-transform: none;
}

.roryparle-related-posts__list {
	font-size: 0.925rem;
}

.roryparle-related-posts__list time {
	color: var(--rp-muted);
	opacity: 1;
}

/* Footnote popover harmonized with warm paper/soot & 2px corners */
.roryparle-footnote-popover {
	--fn-bg: var(--rp-surface);
	--fn-border: var(--rp-border);
	--fn-text: var(--rp-fg);
	border-radius: 3px;
	font-family: var(--font-ui);
	font-size: 0.85rem;
}

/* /archives/ ([roryparle_archives]): typographic columns & inline tags instead of pill clouds */
.roryparle-archives {
	font-family: var(--font-ui);
}

.roryparle-archives__section > h2 {
	font-family: var(--font-ui);
	font-size: 1.125rem;
	letter-spacing: -0.01em;
	margin: 0 0 0.75rem 0;
}

/* 2-column aligned Category index */
#roryparle-archives-categories + .roryparle-pill-list {
	column-gap: 2.25rem;
	display: grid;
	grid-template-columns: 1fr;
	row-gap: 0;
}

@media screen and (min-width: 34em) {
	#roryparle-archives-categories + .roryparle-pill-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

#roryparle-archives-categories + .roryparle-pill-list > li {
	border-bottom: 1px solid var(--rp-border);
}

.entry-content #roryparle-archives-categories + .roryparle-pill-list a.roryparle-pill {
	background: transparent;
	border: 0;
	border-radius: 0;
	color: var(--rp-fg);
	display: flex;
	font-size: 0.925rem;
	justify-content: space-between;
	padding: 0.36rem 0;
	width: 100%;
}

.entry-content #roryparle-archives-categories + .roryparle-pill-list a.roryparle-pill:hover,
.entry-content #roryparle-archives-categories + .roryparle-pill-list a.roryparle-pill:focus-visible {
	background: transparent;
	color: var(--rp-link);
}

.entry-content #roryparle-archives-categories + .roryparle-pill-list a.roryparle-pill > small {
	color: var(--rp-muted);
	font-size: 0.8rem;
}

/* Inline dot-separated Tag index (both Popular and A-Z) */
#roryparle-archives-tags + .roryparle-pill-list,
.roryparle-all-tags .roryparle-pill-list {
	display: block;
	line-height: 1.95;
}

#roryparle-archives-tags + .roryparle-pill-list > li,
.roryparle-all-tags .roryparle-pill-list > li {
	display: inline;
}

#roryparle-archives-tags + .roryparle-pill-list > li + li::before,
.roryparle-all-tags .roryparle-pill-list > li + li::before {
	color: var(--rp-muted);
	content: ' · ';
	opacity: 0.55;
}

.entry-content .roryparle-archives a.roryparle-pill--tag {
	background: transparent;
	border: 0;
	border-radius: 0;
	color: var(--rp-link);
	display: inline;
	font-size: 0.9rem;
	padding: 0;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

.entry-content .roryparle-archives a.roryparle-pill--tag:hover,
.entry-content .roryparle-archives a.roryparle-pill--tag:focus-visible {
	background: transparent;
	color: var(--rp-link-hover);
}

.roryparle-pill--tag::before {
	content: none;
}

.roryparle-pill--tag > small {
	color: var(--rp-muted);
	display: inline-block;
	font-size: 0.78rem;
	text-decoration: none;
}

.roryparle-pill--tag > small::before {
	content: '(';
}

.roryparle-pill--tag > small::after {
	content: ')';
}

.roryparle-all-tags {
	border-top: 1px solid var(--rp-border);
}

.roryparle-tag-group__letter {
	color: var(--rp-heading);
	line-height: 1.95;
}

/* Year & Month timeline without pill boxes */
.roryparle-year-grid,
.roryparle-year-row {
	border-color: var(--rp-border);
}

.roryparle-year-row__year {
	flex: 0 0 5.2rem;
	font-size: 0.925rem;
}

.roryparle-year-row__count {
	color: var(--rp-muted);
}

.roryparle-year-row__count::before {
	content: '(';
}

.roryparle-year-row__count::after {
	content: ')';
}

.entry-content .roryparle-archives a.roryparle-month.is-active {
	background: transparent;
	border: 0;
	color: var(--rp-link);
	font-weight: 400;
	padding: 0.15rem 0;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

.entry-content .roryparle-archives a.roryparle-month.is-active:hover,
.entry-content .roryparle-archives a.roryparle-month.is-active:focus-visible {
	background: transparent;
	color: var(--rp-link-hover);
}

.roryparle-archives .roryparle-month.is-empty {
	border: 0;
	font-size: 0;
	opacity: 1;
	padding: 0.15rem 0;
}

.roryparle-archives .roryparle-month.is-empty::after {
	color: var(--rp-muted);
	content: '·';
	font-size: 0.85rem;
	opacity: 0.42;
}

/* ==========================================================================
   8. Forms, Pagination, Post Navigation & Comments
   ========================================================================== */
input[type="search"],
input[type="text"],
input[type="email"],
input[type="url"],
textarea {
	background-color: var(--rp-surface);
	border: 1px solid var(--rp-border);
	border-radius: 2px;
	color: var(--rp-fg);
	font-family: var(--font-ui);
	font-size: 0.9rem;
	line-height: 1.45;
	padding: 0.42rem 0.65rem;
}

input[type="search"]:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
textarea:focus {
	border-color: var(--rp-muted);
	outline: none;
}

button,
input[type="submit"],
.roryparle-search-form__submit {
	background-color: var(--rp-surface);
	border: 1px solid var(--rp-border);
	border-radius: 2px;
	color: var(--rp-fg);
	cursor: pointer;
	font-family: var(--font-ui);
	font-size: 0.85rem;
	font-weight: 700;
	line-height: 1.45;
	padding: 0.42rem 0.9rem;
}

button:hover,
input[type="submit"]:hover,
.roryparle-search-form__submit:hover {
	border-color: var(--rp-muted);
	color: var(--rp-heading);
}

.rp-search-form {
	display: flex;
	gap: 0.45rem;
}

.rp-search-form input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
}

/* Listing pagination & Single post prev/next */
.rp-pagination,
.rp-post-nav {
	border-top: 1px solid var(--rp-border);
	font-family: var(--font-ui);
	font-size: 0.9rem;
	margin-top: 3rem;
	padding-top: 1.5rem;
}

.rp-pagination__links,
.rp-post-nav__links {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 2rem;
	justify-content: space-between;
}

.rp-post-nav__item {
	max-width: 48%;
}

.rp-post-nav__item--next {
	margin-left: auto;
	text-align: right;
}

.rp-post-nav__label {
	color: var(--rp-muted);
	display: block;
	font-size: 0.78rem;
	margin-bottom: 0.15rem;
}

/* Comments */
.rp-comments {
	border-top: 1px solid var(--rp-border);
	margin-top: 3rem;
	padding-top: 2rem;
}

.rp-comments__title {
	font-size: 1.15rem;
	margin: 0 0 1.35rem 0;
}

.rp-comment-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rp-comment-list .children {
	border-left: 1px solid var(--rp-border);
	list-style: none;
	margin: 1rem 0 0 0.75rem;
	padding-left: 1.25rem;
}

.rp-comment-list > li {
	border-bottom: 1px solid var(--rp-border);
	margin-bottom: 1.35rem;
	padding-bottom: 1.35rem;
}

.rp-comment-list > li:last-child {
	border-bottom: 0;
	margin-bottom: 0;
	padding-bottom: 0;
}

.comment-meta {
	font-family: var(--font-ui);
	font-size: 0.85rem;
	margin-bottom: 0.5rem;
}

.comment-author .fn {
	color: var(--rp-heading);
	font-style: normal;
	font-weight: 700;
}

.comment-author .says,
.comment-author img.avatar {
	display: none;
}

.comment-metadata {
	color: var(--rp-muted);
	font-size: 0.8rem;
}

.comment-metadata a {
	color: inherit;
	text-decoration: none;
}

.comment-metadata a:hover {
	color: var(--rp-link);
	text-decoration: underline;
}

.comment-content {
	font-size: 0.98rem;
	line-height: 1.65;
}

.comment-content p {
	margin: 0 0 0.85em 0;
}

.comment-content p:last-child {
	margin-bottom: 0;
}

.reply {
	font-family: var(--font-ui);
	font-size: 0.8rem;
	margin-top: 0.5rem;
}

.comment-respond {
	font-family: var(--font-ui);
	margin-top: 2rem;
}

.comment-reply-title {
	font-size: 1.05rem;
	margin: 0 0 0.75rem 0;
}

.comment-form p {
	margin: 0 0 0.95rem 0;
}

.comment-form label {
	display: block;
	font-size: 0.85rem;
	margin-bottom: 0.25rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
}

.rp-comments-closed {
	color: var(--rp-muted);
	font-family: var(--font-ui);
	font-size: 0.85rem;
	font-style: italic;
	margin: 1.5rem 0 0 0;
}

/* ==========================================================================
   9. Site Footer, On This Day & 2003 Colophon
   ========================================================================== */
.rp-footer {
	border-top: 1px solid var(--rp-border);
	font-family: var(--font-ui);
	font-size: 0.9rem;
	margin-top: 4rem;
	padding-top: 2.15rem;
}

.rp-footer__grid {
	display: grid;
	gap: 1.85rem 2.5rem;
	grid-template-columns: 1fr;
}

@media screen and (min-width: 38em) {
	.rp-footer__grid {
		grid-template-columns: 1.15fr 0.85fr;
	}
}

.rp-footer__heading {
	color: var(--rp-heading);
	font-size: 0.925rem;
	font-weight: 700;
	margin: 0 0 0.6rem 0;
}

.rp-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rp-footer__list li {
	line-height: 1.45;
	margin-bottom: 0.42rem;
}

.rp-footer__list a {
	color: var(--rp-fg);
	text-decoration: none;
}

.rp-footer__list a:hover,
.rp-footer__list a:focus-visible {
	color: var(--rp-link);
	text-decoration: underline;
}

.rp-on-this-day {
	color: var(--rp-muted);
	font-size: 0.8125rem;
	line-height: 1.5;
	margin: 0.85rem 0 0 0;
}

.rp-footer__links {
	color: var(--rp-muted);
	font-size: 0.825rem;
	line-height: 1.65;
	margin: 0.9rem 0 0 0;
}

.rp-footer__links a {
	color: var(--rp-muted);
	text-decoration: none;
}

.rp-footer__links a:hover,
.rp-footer__links a:focus-visible {
	color: var(--rp-link);
	text-decoration: underline;
}

.rp-colophon {
	border-top: 1px solid var(--rp-border);
	color: var(--rp-muted);
	font-family: var(--font-prose);
	font-size: 0.875rem;
	font-style: italic;
	margin-top: 1.85rem;
	padding-top: 1.15rem;
}
