/* ==========================================================================
   Lyceum — base
   Structure and defaults only. Every colour, typeface, rule and radius is a
   custom property so a variation file can rewrite the site's character without
   touching layout. Nothing in this file names a specific colour.
   ========================================================================== */

:root {
	/* Overridden by every variation. These are a legible fallback, not a look. */
	--color-page: #ffffff;
	--color-raised: #f4f4f4;
	--color-ink: #1a1a1a;
	--color-ink-muted: #5a5a5a;
	--color-rule: #dcdcdc;
	--color-accent: #2f5d8a;
	--color-accent-ink: #ffffff;
	--color-link: var(--color-accent);
	--color-link-hover: var(--color-ink);
	--color-mark: #f2e06b;

	--font-display: Georgia, "Times New Roman", serif;
	--font-body: system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

	--weight-display: 600;
	--weight-body: 400;
	--weight-strong: 600;

	/* Type scale. Fluid between a 360px and a 1200px viewport. */
	--step--1: clamp(0.833rem, 0.81rem + 0.11vw, 0.889rem);
	--step-0: clamp(1rem, 0.96rem + 0.19vw, 1.125rem);
	--step-1: clamp(1.2rem, 1.13rem + 0.33vw, 1.424rem);
	--step-2: clamp(1.44rem, 1.32rem + 0.55vw, 1.802rem);
	--step-3: clamp(1.728rem, 1.53rem + 0.88vw, 2.281rem);
	--step-4: clamp(2.074rem, 1.77rem + 1.35vw, 2.887rem);

	--leading-body: 1.65;
	--leading-tight: 1.18;

	/* Spacing, on a 4px base. */
	--space-2xs: 0.25rem;
	--space-xs: 0.5rem;
	--space-s: 0.75rem;
	--space-m: 1.25rem;
	--space-l: 2rem;
	--space-xl: 3.25rem;
	--space-2xl: 5rem;

	/* Layout. */
	--measure: 66ch;
	--wrap-max: 74rem;
	--sidebar-width: 17rem;
	--entry-margin: 0rem;
	--gutter: clamp(1.25rem, 4vw, 3rem);

	--radius: 0px;
	--radius-lg: 0px;
	--rule-width: 1px;

	--shadow: none;
	--transition: 140ms ease;
}

/* Reset ------------------------------------------------------------------ */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	/* Keep anchored headings clear of a sticky header. */
	scroll-padding-top: var(--space-l);
}

body {
	margin: 0;
	background-color: var(--color-page);
	color: var(--color-ink);
	font-family: var(--font-body);
	font-size: var(--step-0);
	font-weight: var(--weight-body);
	line-height: var(--leading-body);
	-webkit-text-size-adjust: 100%;
	/* Onion addresses, long URLs and hashes have no natural break point and
	   will push a phone layout sideways without this. */
	overflow-wrap: break-word;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
	height: auto;
}

figure {
	margin: 0;
}

/* Typography ------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: var(--weight-display);
	line-height: var(--leading-tight);
	margin: 0 0 var(--space-s);
	text-wrap: balance;
}

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
h5, h6 { font-size: var(--step-0); }

p, ul, ol, dl, blockquote, pre, table, figure {
	margin: 0 0 var(--space-m);
}

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

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

:focus-visible {
	outline: 3px solid var(--color-accent);
	outline-offset: 2px;
}

strong, b { font-weight: var(--weight-strong); }

small { font-size: var(--step--1); }

mark {
	background-color: var(--color-mark);
	color: var(--color-ink);
	padding: 0 0.15em;
}

code, kbd, samp, pre {
	font-family: var(--font-mono);
	font-size: 0.92em;
}

code {
	background-color: var(--color-raised);
	padding: 0.12em 0.35em;
	border-radius: var(--radius);
}

pre {
	background-color: var(--color-raised);
	border-left: 3px solid var(--color-accent);
	padding: var(--space-m);
	overflow-x: auto;
	border-radius: var(--radius);
}

pre code {
	background: none;
	padding: 0;
}

blockquote {
	border-left: 3px solid var(--color-accent);
	padding-left: var(--space-m);
	color: var(--color-ink-muted);
	font-style: italic;
}

hr {
	border: 0;
	border-top: var(--rule-width) solid var(--color-rule);
	margin: var(--space-xl) 0;
}

table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--step--1);
}

/* Tables are wrapped by lyceum_wrap_tables() so a wide one scrolls sideways
   inside its own box instead of pushing the whole page across. */
.table-scroll {
	overflow-x: auto;
	margin-bottom: var(--space-m);
	-webkit-overflow-scrolling: touch;
}

.table-scroll table {
	margin-bottom: 0;
	min-width: 30rem;
}

.table-scroll th,
.table-scroll td {
	white-space: nowrap;
}

th, td {
	text-align: left;
	padding: var(--space-xs) var(--space-s);
	border-bottom: 1px solid var(--color-rule);
}

th {
	font-family: var(--font-display);
	font-weight: var(--weight-display);
}

/* Utilities -------------------------------------------------------------- */

.screen-reader-text,
.skip-link {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.skip-link:focus {
	position: fixed;
	top: var(--space-xs);
	left: var(--space-xs);
	z-index: 100;
	width: auto;
	height: auto;
	clip-path: none;
	padding: var(--space-xs) var(--space-m);
	background-color: var(--color-accent);
	color: var(--color-accent-ink);
	border-radius: var(--radius);
}

/* Header ----------------------------------------------------------------- */

.site-header {
	border-bottom: var(--rule-width) solid var(--color-rule);
	padding: var(--space-m) 0;
}

.site-header__inner {
	max-width: var(--wrap-max);
	margin-inline: auto;
	padding-inline: var(--gutter);
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: var(--space-s) var(--space-l);
}

.site-identity {
	margin-right: auto;
}

.custom-logo-link {
	display: inline-block;
	margin-bottom: var(--space-2xs);
}

.custom-logo {
	max-height: 3rem;
	width: auto;
}

.site-title {
	font-family: var(--font-display);
	font-size: var(--step-1);
	font-weight: var(--weight-display);
	line-height: 1.1;
	margin: 0;
}

.site-title a {
	color: var(--color-ink);
	text-decoration: none;
}

.site-description {
	font-size: var(--step--1);
	color: var(--color-ink-muted);
	margin: var(--space-2xs) 0 0;
	max-width: 44ch;
}

/* Navigation ------------------------------------------------------------- */

.nav-toggle {
	display: inline-flex;
	align-items: center;
	gap: var(--space-xs);
	background: none;
	border: var(--rule-width) solid var(--color-rule);
	border-radius: var(--radius);
	color: var(--color-ink);
	font: inherit;
	font-size: var(--step--1);
	padding: var(--space-2xs) var(--space-s);
	cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	display: block;
	width: 1.1rem;
	height: 2px;
	background-color: currentColor;
}

.nav-toggle__bars {
	position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
	content: "";
	position: absolute;
	left: 0;
}

.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 5px; }

.primary-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-m);
	font-size: var(--step--1);
}

.primary-nav a {
	color: var(--color-ink);
	text-decoration: none;
	padding: var(--space-2xs) 0;
	display: inline-block;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a {
	color: var(--color-accent);
}

.primary-nav .sub-menu {
	list-style: none;
	margin: var(--space-2xs) 0 0;
	padding: 0 0 0 var(--space-s);
	display: flex;
	flex-direction: column;
	gap: var(--space-2xs);
	border-left: var(--rule-width) solid var(--color-rule);
}

@media (max-width: 47.99em) {
	.primary-nav {
		flex-basis: 100%;
		display: none;
	}

	.primary-nav.is-open {
		display: block;
	}

	.primary-nav__list {
		flex-direction: column;
		gap: 0;
		padding-top: var(--space-s);
	}

	/* Touch targets. Inline text links inherit their line height, which lands
	   around 31px — under both Apple's 44px and Google's 48px guidance. Padding
	   the links out is only appropriate once they are stacked, which is why it
	   lives inside this query. */
	.primary-nav__list > li > a {
		padding: var(--space-s) 0;
		min-height: 2.75rem;
		display: flex;
		align-items: center;
		border-bottom: 1px solid var(--color-rule);
	}

	.nav-toggle {
		min-height: 2.75rem;
		padding-inline: var(--space-m);
	}
}

@media (min-width: 48em) {
	.nav-toggle {
		display: none;
	}
}

/* Breadcrumbs ------------------------------------------------------------ */

.breadcrumbs {
	max-width: var(--wrap-max);
	margin-inline: auto;
	padding: var(--space-s) var(--gutter) 0;
	font-size: var(--step--1);
	color: var(--color-ink-muted);
}

.breadcrumbs__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-xs);
}

.breadcrumbs__item + .breadcrumbs__item::before {
	content: "/";
	margin-right: var(--space-xs);
	color: var(--color-rule);
}

.breadcrumbs a {
	color: inherit;
}

/* Layout ----------------------------------------------------------------- */

.site-main {
	display: block;
}

.wrap {
	max-width: var(--wrap-max);
	margin-inline: auto;
	padding: var(--space-xl) var(--gutter) var(--space-2xl);
	display: grid;
	gap: var(--space-xl);
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 62em) {
	.layout-with-sidebar .wrap {
		grid-template-columns: minmax(0, 1fr) var(--sidebar-width);
		gap: var(--space-2xl);
	}
}

/* With no sidebar to fill it, the full 74rem container leaves a reading column
   stranded against the left edge. Narrowing the container on single posts
   centres the article instead, without touching the measure itself. Marginalia
   still has room for its margin notes at this width. */
.single.layout-single-column .wrap {
	max-width: 62rem;
}

.content-area {
	min-width: 0;
}

/* Entry ------------------------------------------------------------------ */

.entry {
	display: grid;
	grid-template-columns: var(--entry-margin) minmax(0, 1fr);
	column-gap: var(--space-l);
}

.entry > * {
	grid-column: 2;
	min-width: 0;
}

.entry-header {
	margin-bottom: var(--space-l);
}

.entry-section {
	font-size: var(--step--1);
	margin: 0 0 var(--space-xs);
}

.entry-section a {
	color: var(--color-accent);
	text-decoration: none;
}

.entry-title {
	margin-bottom: var(--space-s);
	max-width: 20ch;
}

.entry-standfirst {
	font-size: var(--step-1);
	line-height: 1.45;
	color: var(--color-ink-muted);
	max-width: 52ch;
	margin-bottom: var(--space-m);
}

.entry-meta {
	font-size: var(--step--1);
	color: var(--color-ink-muted);
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-xs) var(--space-m);
	margin: 0;
	padding-top: var(--space-s);
	border-top: var(--rule-width) solid var(--color-rule);
}

.entry-meta a {
	color: inherit;
}

.entry-figure {
	margin-bottom: var(--space-l);
}

.entry-figure img {
	/* max-width, not width. width: 100% upscales a small image to fill the
	   column, which turns a crisp diagram into a soft one. */
	max-width: 100%;
	margin-inline: auto;
	border-radius: var(--radius-lg);
}

.entry-figure figcaption,
.wp-caption-text,
figcaption {
	font-size: var(--step--1);
	color: var(--color-ink-muted);
	padding-top: var(--space-xs);
}

.entry-content {
	max-width: var(--measure);
}

.entry-content > h2 {
	margin-top: var(--space-xl);
}

.entry-content > h3 {
	margin-top: var(--space-l);
}

.entry-content li {
	margin-bottom: var(--space-xs);
}

.entry-content > ul,
.entry-content > ol {
	padding-left: 1.25em;
}

.entry-content img {
	border-radius: var(--radius-lg);
}

.alignwide {
	max-width: min(100%, calc(var(--measure) + 8rem));
}

.alignfull {
	max-width: 100%;
}

.entry-footer {
	margin-top: var(--space-xl);
	padding-top: var(--space-m);
	border-top: var(--rule-width) solid var(--color-rule);
}

.entry-footer__heading {
	font-size: var(--step-0);
	margin-bottom: var(--space-xs);
}

.tag-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-xs);
}

.tag-list a {
	display: inline-block;
	font-size: var(--step--1);
	padding: var(--space-2xs) var(--space-s);
	border: var(--rule-width) solid var(--color-rule);
	border-radius: var(--radius);
	text-decoration: none;
	color: var(--color-ink-muted);
}

.tag-list a:hover {
	border-color: var(--color-accent);
	color: var(--color-accent);
}

/* Table of contents ------------------------------------------------------ */

.toc {
	margin-bottom: var(--space-xl);
	padding: var(--space-m);
	background-color: var(--color-raised);
	border-radius: var(--radius-lg);
	max-width: var(--measure);
}

.toc__heading {
	font-size: var(--step-0);
	margin-bottom: var(--space-xs);
}

.toc__list {
	margin: 0;
	padding-left: 1.3em;
	font-size: var(--step--1);
}

.toc__item {
	margin-bottom: var(--space-2xs);
}

.toc a {
	color: var(--color-ink);
	text-decoration-color: var(--color-rule);
}

.toc a:hover {
	color: var(--color-accent);
}

/* Post list -------------------------------------------------------------- */

.page-header {
	margin-bottom: var(--space-xl);
	max-width: var(--measure);
}

.page-title {
	margin-bottom: var(--space-s);
}

.page-subtitle {
	font-size: var(--step-1);
	color: var(--color-ink-muted);
	margin: 0;
}

.post-list {
	display: grid;
	gap: var(--space-xl);
}

.post-card {
	display: grid;
	gap: var(--space-m);
}

.post-card__media img {
	width: 100%;
	border-radius: var(--radius-lg);
}

.post-card__section {
	font-size: var(--step--1);
	margin: 0 0 var(--space-2xs);
}

.post-card__section a {
	color: var(--color-accent);
	text-decoration: none;
}

.post-card__title {
	font-size: var(--step-2);
	margin-bottom: var(--space-xs);
}

.post-card__title a {
	color: var(--color-ink);
	text-decoration: none;
}

.post-card__title a:hover {
	color: var(--color-accent);
	text-decoration: underline;
}

.post-card__excerpt {
	color: var(--color-ink-muted);
	max-width: 60ch;
	margin-bottom: var(--space-xs);
}

.post-card__meta {
	font-size: var(--step--1);
	color: var(--color-ink-muted);
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-m);
	margin: 0;
}

@media (min-width: 40em) {
	.post-card:has(.post-card__media) {
		grid-template-columns: 13rem minmax(0, 1fr);
		align-items: start;
	}
}

/* Post navigation and related -------------------------------------------- */

.post-nav {
	margin-top: var(--space-xl);
	padding-top: var(--space-m);
	border-top: var(--rule-width) solid var(--color-rule);
}

.post-nav .nav-links {
	display: grid;
	gap: var(--space-m);
}

@media (min-width: 40em) {
	.post-nav .nav-links {
		grid-template-columns: 1fr 1fr;
	}

	.post-nav .nav-next {
		text-align: right;
	}
}

.post-nav a {
	text-decoration: none;
	display: block;
}

.post-nav__label {
	display: block;
	font-size: var(--step--1);
	color: var(--color-ink-muted);
}

.post-nav__title {
	font-family: var(--font-display);
	font-weight: var(--weight-display);
}

.related {
	margin-top: var(--space-xl);
	padding-top: var(--space-l);
	border-top: var(--rule-width) solid var(--color-rule);
}

.related__heading {
	font-size: var(--step-2);
	margin-bottom: var(--space-m);
}

.related__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: var(--space-m);
}

@media (min-width: 48em) {
	.related__list {
		grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
		gap: var(--space-l);
	}
}

.related__link {
	font-family: var(--font-display);
	font-weight: var(--weight-display);
	font-size: var(--step-1);
	color: var(--color-ink);
	text-decoration: none;
	line-height: var(--leading-tight);
}

.related__link:hover {
	color: var(--color-accent);
	text-decoration: underline;
}

.related__excerpt {
	font-size: var(--step--1);
	color: var(--color-ink-muted);
	margin: var(--space-2xs) 0 0;
}

/* Sidebar and widgets ---------------------------------------------------- */

.sidebar {
	font-size: var(--step--1);
}

.widget {
	margin-bottom: var(--space-xl);
}

.widget__title {
	font-size: var(--step-0);
	margin-bottom: var(--space-xs);
	padding-bottom: var(--space-2xs);
	border-bottom: var(--rule-width) solid var(--color-rule);
}

.widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.widget li {
	margin-bottom: var(--space-xs);
}

.widget a {
	color: var(--color-ink);
	text-decoration-color: var(--color-rule);
}

.widget a:hover {
	color: var(--color-accent);
}

/* Search form ------------------------------------------------------------ */

.search-form {
	margin-bottom: var(--space-m);
}

.search-form__label {
	display: block;
	font-size: var(--step--1);
	color: var(--color-ink-muted);
	margin-bottom: var(--space-2xs);
}

.search-form__row {
	display: flex;
	gap: var(--space-xs);
}

.search-form__input {
	flex: 1 1 auto;
	min-width: 0;
	font: inherit;
	font-size: var(--step--1);
	padding: var(--space-xs) var(--space-s);
	border: var(--rule-width) solid var(--color-rule);
	border-radius: var(--radius);
	background-color: var(--color-page);
	color: var(--color-ink);
}

.search-form__submit,
.button,
button[type="submit"],
input[type="submit"] {
	font: inherit;
	font-size: var(--step--1);
	font-family: var(--font-display);
	font-weight: var(--weight-display);
	padding: var(--space-xs) var(--space-m);
	background-color: var(--color-accent);
	color: var(--color-accent-ink);
	border: var(--rule-width) solid var(--color-accent);
	border-radius: var(--radius);
	cursor: pointer;
	transition: opacity var(--transition);
}

.search-form__submit:hover,
.button:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
	opacity: 0.85;
}

/* Pagination ------------------------------------------------------------- */

.pagination {
	margin-top: var(--space-xl);
	padding-top: var(--space-m);
	border-top: var(--rule-width) solid var(--color-rule);
	font-size: var(--step--1);
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-xs);
	align-items: center;
}

.pagination .page-numbers {
	display: inline-block;
	padding: var(--space-2xs) var(--space-s);
	border: var(--rule-width) solid var(--color-rule);
	border-radius: var(--radius);
	text-decoration: none;
	color: var(--color-ink);
}

.pagination .page-numbers.current {
	background-color: var(--color-accent);
	border-color: var(--color-accent);
	color: var(--color-accent-ink);
}

.pagination .page-numbers.dots {
	border-color: transparent;
}

/* Comments --------------------------------------------------------------- */

.comments {
	margin-top: var(--space-2xl);
	padding-top: var(--space-l);
	border-top: var(--rule-width) solid var(--color-rule);
	max-width: var(--measure);
}

.comments__heading {
	font-size: var(--step-2);
	margin-bottom: var(--space-m);
}

.comments__list,
.comments__list .children {
	list-style: none;
	margin: 0;
	padding: 0;
}

.comments__list .children {
	padding-left: var(--space-m);
	border-left: var(--rule-width) solid var(--color-rule);
	margin-top: var(--space-m);
}

.comments__list .comment {
	margin-bottom: var(--space-l);
}

.comment-meta {
	font-size: var(--step--1);
	color: var(--color-ink-muted);
	margin-bottom: var(--space-xs);
}

.comment-form label {
	display: block;
	font-size: var(--step--1);
	margin-bottom: var(--space-2xs);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	font: inherit;
	font-size: var(--step--1);
	padding: var(--space-xs) var(--space-s);
	border: var(--rule-width) solid var(--color-rule);
	border-radius: var(--radius);
	background-color: var(--color-page);
	color: var(--color-ink);
	margin-bottom: var(--space-m);
}

/* No results ------------------------------------------------------------- */

.no-results {
	max-width: var(--measure);
}

/* Footer ----------------------------------------------------------------- */

.site-footer {
	border-top: var(--rule-width) solid var(--color-rule);
	padding: var(--space-xl) 0;
	font-size: var(--step--1);
	color: var(--color-ink-muted);
}

.site-footer__inner {
	max-width: var(--wrap-max);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.site-footer__widgets {
	display: grid;
	gap: var(--space-l);
	margin-bottom: var(--space-l);
}

@media (min-width: 48em) {
	.site-footer__widgets {
		grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
	}
}

/* The credit and the footer links share one line on wide screens and stack on
   narrow ones. flex-wrap does the stacking, so there is no breakpoint to
   maintain — the row breaks when the content stops fitting, whatever the
   viewport happens to be. */
.site-footer__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--space-s) var(--space-l);
}

.footer-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-m);
}

.footer-nav a,
.site-footer a {
	color: var(--color-ink);
}

.site-footer__note {
	max-width: 60ch;
	margin-bottom: var(--space-m);
}

.site-footer__credit {
	margin: 0;
}

/* 404 --------------------------------------------------------------------- */

.error-404 {
	max-width: var(--measure);
}

.error-404__block {
	padding-top: var(--space-l);
	margin-top: var(--space-l);
	border-top: var(--rule-width) solid var(--color-rule);
}

.error-404__heading {
	font-size: var(--step-1);
	margin-bottom: var(--space-xs);
}

.error-404__intro {
	color: var(--color-ink-muted);
	margin-bottom: var(--space-m);
}

.error-404__sections {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: var(--space-m) var(--space-l);
}

@media (min-width: 40em) {
	.error-404__sections {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.error-404__section-title {
	font-size: var(--step-0);
	margin-bottom: var(--space-2xs);
}

.error-404__section-title a {
	color: var(--color-ink);
	text-decoration: none;
}

.error-404__section-title a:hover {
	color: var(--color-accent);
	text-decoration: underline;
}

.error-404__section-body {
	font-size: var(--step--1);
	color: var(--color-ink-muted);
	margin: 0;
}

.error-404__action {
	margin: 0;
}

.error-404__action .button {
	display: inline-block;
	text-decoration: none;
}

/* Motion and print ------------------------------------------------------- */

/* iOS zooms the whole page when you focus an input whose text is under 16px,
   and does not zoom back out afterwards. Every form control here uses the
   small step, so they are pinned to 16px on touch-sized screens. */
@media (max-width: 47.99em) {
	.search-form__input,
	.comment-form input[type="text"],
	.comment-form input[type="email"],
	.comment-form input[type="url"],
	.comment-form textarea,
	select {
		font-size: 1rem;
	}

	.search-form__submit,
	.button,
	button[type="submit"],
	input[type="submit"] {
		min-height: 2.75rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

@media print {
	.site-header,
	.site-footer,
	.sidebar,
	.breadcrumbs,
	.post-nav,
	.related,
	.comments,
	.toc {
		display: none;
	}

	body {
		background: #fff;
		color: #000;
	}

	.entry-content a::after {
		content: " (" attr(href) ")";
		font-size: 0.85em;
		word-break: break-all;
	}
}
