/*
Theme Name: Klasika
Theme URI: https://github.com/salimromadhon/klasika
Author: Salim
Author URI: https://github.com/salimromadhon
Description: A classic, responsive theme with Georgia typography, tabbed navigation and double-rule borders. Layout, typography, colors and display options are adjustable in the Customizer. Translation ready.
Version: 2.4.4
Requires at least: 6.0
Tested up to: 7.1
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: klasika
Domain Path: /languages
Tags: blog, one-column, two-columns, three-columns, left-sidebar, right-sidebar, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, theme-options, threaded-comments, translation-ready
*/

/* ---------- Custom properties (set via the Customizer) ---------- */
:root {
	--k-font-body: Georgia, Cambria, "Times New Roman", Times, serif;
	--k-font-headline: var(--k-font-body);
	--k-font-sidebar: var(--k-font-body);
	--k-content-size: 1.6rem;
	--k-content-lh: 1.594;
	--k-headline-size: 2.6rem;
	--k-headline-lh: 1.385;
	--k-sidebar-size: 1.4rem;
	--k-sidebar-lh: 1.5;
	--k-rhythm: calc(var(--k-content-lh) * 1em);
	--k-content-w: 64rem;
	--k-sidebar-w: 30.9rem;
	--k-container-w: 99.3rem;
	--k-text: #111;
	--k-headline: #111;
	--k-link: #2361a1;
	--k-meta: #707070;
	--k-muted: #666;
	--k-widget-title: #555;
	--k-border: #ddd;
	--k-border-dot: #bbb;
	--k-bg: #fff;
	--k-outer-bg: #e8e8e8;
	--k-box-spacing: 2.2rem;
	--k-tab: #efefef;
	--k-tab-hover: #ddd;
	--k-tab-ancestor: #f0eec2;
	--k-code-bg: #eee;
	--k-light-bg: #f5f5f5;
	--k-faint: #ccc;
	--k-num: #707070;
	--k-input-text: #444;
	--k-input-border: #aaa;
	--k-focus-border: #777;
	--k-btn-top: #fff;
	--k-btn-bottom: #e2e2e2;
	--k-btn-border: #999;
	--k-author-bg: #e7f8fb;
	--k-author-border: #bde0e6;
	--k-box-bg: #e3f0f2;
	--k-box-border: #addde6;
	--k-alert-bg: #ffffa0;
	--k-alert-border: #e5e597;
	--k-cal-caption: #e5e5e5;
	--k-cal-th: #f2f2f2;
	--k-logo-size: 3.6rem;
	--k-nav-size: 1.1rem;
	--k-nav-spacing: 2px;
	--k-nav-transform: uppercase;
	--k-avatar-size: 32px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}
html,
body,
div,
span,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
img,
dl,
dt,
dd,
ol,
ul,
li,
form,
label,
table,
tr,
th,
td,
figure {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
}
html {
	font-size: 62.5%;
}
body {
	background: var(--k-bg);
	color: var(--k-text);
	font-family: var(--k-font-body);
	font-size: 1rem;
	-webkit-text-size-adjust: 100%;
	text-rendering: optimizeLegibility;
	font-kerning: normal;
	font-variant-ligatures: common-ligatures;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	text-wrap: balance;
}
p,
li,
dd {
	text-wrap: pretty;
}
img {
	max-width: 100%;
	height: auto;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a {
	color: var(--k-link);
	text-decoration: underline;
}
a:hover {
	color: var(--k-text);
}
.entry-content a:hover {
	text-decoration: none;
}
a img {
	border: 0;
}
.screen-reader-text {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.screen-reader-text:focus {
	clip: auto;
	width: auto;
	height: auto;
	background: var(--k-bg);
	padding: 1em;
	z-index: 999;
	font-size: 1.4em;
}

/* ---------- Page frame ---------- */
#page {
	max-width: var(--k-container-w);
	margin: 0 auto;
}
#site-inner {
	padding: 2.2rem;
}
/* Boxed layout: the page sits in a framed box on the outer background. */
body.boxed {
	background: var(--k-outer-bg);
}
.boxed #page {
	width: calc(100% - 2 * var(--k-box-spacing));
	max-width: calc(var(--k-container-w) + 2px);
	margin: var(--k-box-spacing) auto;
	background: var(--k-bg);
	border: 1px solid var(--k-border);
}

/* ---------- Header ---------- */
#masthead {
	padding: 2.2rem;
	border-bottom: 3px double var(--k-border);
}
#site-title {
	font-family: var(--k-font-headline);
	font-size: var(--k-logo-size);
	line-height: 1.167;
	font-weight: bold;
}
#site-title a {
	color: var(--k-headline);
	text-decoration: none;
}
#site-title a:hover {
	color: var(--k-link);
}
#site-description {
	font-size: 1.4rem;
	line-height: 1.429;
	color: var(--k-meta);
	font-weight: normal;
}
.custom-logo {
	display: block;
	margin-bottom: 0.5rem;
}

/* ---------- Tabbed navigation ---------- */
.menu-toggle {
	display: none;
}
#site-navigation {
	border-bottom: 1px solid var(--k-border);
	margin-bottom: 0;
}
#site-navigation ul {
	list-style: none;
}
/* Tabs sit directly on the nav's bottom border: inactive tabs leave it visible, while the
   current tab covers it with a 1px strip between its side borders so it merges with the page.
   The tab itself keeps the same height, so its side borders never poke below the line at any zoom. */
#site-navigation .menu {
	display: flex;
	flex-wrap: wrap;
	position: relative;
	border-inline-start: 1px solid var(--k-border);
}
#site-navigation .menu > li {
	position: relative;
}
#site-navigation .menu a {
	display: block;
	font-size: var(--k-nav-size);
	letter-spacing: var(--k-nav-spacing);
	text-transform: var(--k-nav-transform);
	text-decoration: none;
	color: var(--k-text);
	background: var(--k-tab);
	border: 1px solid var(--k-border);
	border-inline-start: 0;
	border-bottom: 0;
	padding: 0.7rem 0.9rem;
	line-height: 1.273;
}
#site-navigation .menu a:hover {
	background: var(--k-tab-hover);
	color: var(--k-text);
}
#site-navigation .menu > li.current-menu-item > a,
#site-navigation .menu > li.current_page_item > a {
	position: relative;
	background: var(--k-bg);
	cursor: text;
}
#site-navigation .menu > li.current-menu-item > a::after,
#site-navigation .menu > li.current_page_item > a::after {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	inset-inline-end: 0;
	bottom: -1px;
	height: 1px;
	background: var(--k-bg);
}
/* The tab of the current section: WordPress marks it current-menu-ancestor, current-page-ancestor
   (a child page not in the menu), current-post-ancestor (a post in a category tab),
   current-category-ancestor (a subcategory) or current-menu-parent, depending on the menu. */
#site-navigation .menu > li[class*="current-"][class*="-ancestor"] > a,
#site-navigation .menu > li[class*="current_"][class*="_ancestor"] > a,
#site-navigation .menu > li.current-menu-parent > a {
	background: var(--k-tab-ancestor);
}
#site-navigation .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	inset-inline-start: -1px;
	width: 15rem;
	z-index: 100;
	border-top: 1px solid var(--k-border);
}
#site-navigation .sub-menu a {
	border-top: 0;
	border-inline-start: 1px solid var(--k-border);
	border-bottom: 1px solid var(--k-border);
	background: var(--k-tab);
}
#site-navigation .sub-menu .sub-menu {
	top: -1px;
	inset-inline-start: 100%;
}
#site-navigation li:hover > .sub-menu,
#site-navigation li:focus-within > .sub-menu {
	display: block;
}
#site-navigation .sub-toggle {
	display: none;
}
#site-navigation .menu > .nav-rss {
	margin-inline-start: auto;
}
#site-navigation .nav-rss a,
#site-navigation .nav-rss a:hover {
	background: none;
	border: 0;
	padding-inline-end: 2.6rem;
	position: relative;
}
#site-navigation .nav-rss a:hover {
	text-decoration: underline;
}
#site-navigation .nav-rss a::after {
	content: "";
	position: absolute;
	inset-inline-end: 0.2rem;
	top: 50%;
	width: 1.2rem;
	height: 1.2rem;
	margin-top: -0.6rem;
	border-radius: 2px;
	background: #f78422
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Ccircle cx='3.2' cy='8.8' r='1.1' fill='%23fff'/%3E%3Cpath d='M2.1 5.2a4.7 4.7 0 0 1 4.7 4.7M2.1 2.4a7.5 7.5 0 0 1 7.5 7.5' stroke='%23fff' stroke-width='1.4' fill='none'/%3E%3C/svg%3E")
		center/100% no-repeat;
}

/* ---------- Content area ---------- */
#site-content {
	display: flex;
	align-items: stretch;
	width: 100%;
}
#main {
	flex: 0 0 var(--k-content-w);
	max-width: var(--k-content-w);
	min-width: 0;
	padding-top: 0;
}
#secondary {
	flex: 1 1 auto;
	display: flex;
	border-inline-start: 1px solid var(--k-border);
	min-width: 0;
}
.widget-area {
	flex: 1 1 0;
	min-width: 0;
	padding: 2.2rem 2.2rem 0;
	font-family: var(--k-font-sidebar);
	font-size: var(--k-sidebar-size);
	line-height: var(--k-sidebar-lh);
	color: var(--k-text);
}

/* ---------- Post ---------- */
.entry {
	padding-block: 2.2rem 0;
	padding-inline: 2.2rem;
	border-top: 1px dotted var(--k-border-dot);
}
.entry.is-first {
	border-top: 0;
}
/* Sticky posts on the blog page sit on a pale panel, so they read as pinned. */
.blog .entry.sticky {
	background: var(--k-light-bg);
	border-top: 1px solid var(--k-border);
	border-bottom: 1px solid var(--k-border);
	margin-bottom: -1px;
}
.blog .entry.sticky.is-first {
	border-top: 0;
}
.entry-header {
	margin-bottom: 2.4rem;
}
.entry-header h1,
.entry-header h2 {
	font-family: var(--k-font-headline);
	font-size: var(--k-headline-size);
	line-height: var(--k-headline-lh);
	font-weight: normal;
	color: var(--k-headline);
	letter-spacing: -0.01em;
}
.entry-header h2 a {
	color: var(--k-headline);
	text-decoration: none;
}
.entry-header h2 a:hover {
	color: var(--k-link);
}
.entry-meta {
	margin-top: 0.8rem;
	font-size: 1.3rem;
	line-height: 1.538;
	font-style: italic;
	color: var(--k-meta);
}
.entry-meta .author,
.entry-meta .published {
	font-style: normal;
	text-transform: uppercase;
	font-size: 0.846em;
	letter-spacing: 0.12em;
}
.entry-meta a {
	color: var(--k-meta);
	text-decoration: none;
	border-bottom: 1px solid var(--k-light-bg);
}
.entry-meta a:hover {
	color: var(--k-text);
}

.entry-content {
	font-size: var(--k-content-size);
	line-height: var(--k-content-lh);
	color: var(--k-text);
	overflow-wrap: break-word;
	hanging-punctuation: first;
	font-variant-numeric: oldstyle-nums proportional-nums;
}
/* A post's content sets the space below itself, one line of body text, whatever its last
   element is (paragraph, gallery, quote, "continue reading" link...). */
.entry > .entry-content {
	margin-bottom: var(--k-rhythm);
}
/* So the last element adds nothing to that space: the last child that is not an empty
   paragraph (editors and broken embeds leave trailing <p></p>), and the last elements
   nested in it, lose their bottom margin. The ID outranks the margins of single blocks. */
#main .entry > .entry-content > :not(:has(~ :not(p:empty))),
#main .entry > .entry-content > :not(:has(~ :not(p:empty))) > :last-child,
#main .entry > .entry-content > :not(:has(~ :not(p:empty))) > :last-child > :last-child {
	margin-bottom: 0;
}
.entry-content p {
	margin-bottom: var(--k-rhythm);
}
.entry-content abbr,
.entry-content acronym,
.entry-content .caps {
	font-size: 0.8125em;
	text-transform: uppercase;
	letter-spacing: 1px;
	text-decoration: none;
	cursor: help;
}
.entry-content dl {
	margin-bottom: var(--k-rhythm);
}
.entry-content dt {
	font-weight: bold;
}
.entry-content dd {
	margin-bottom: var(--k-rhythm);
}
/* Inline details: keep sup/sub from stretching the line, theme-colored highlights and key caps. */
.entry-content sup,
.entry-content sub {
	font-size: 0.75em;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
.entry-content sup {
	top: -0.5em;
}
.entry-content sub {
	bottom: -0.25em;
}
.entry-content mark {
	background: var(--k-alert-bg);
	color: inherit;
	padding: 0 0.15em;
}
.entry-content address {
	margin-bottom: var(--k-rhythm);
}
/* Section breaks start below any floated image or pull quote. */
.entry-content h2,
.entry-content h3,
.entry-content hr {
	clear: both;
}
.entry-content hr {
	border: 0;
	border-top: 1px solid var(--k-border);
	margin: 2.4em auto;
	width: 38.2%;
}
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	font-family: var(--k-font-headline);
	font-weight: normal;
	color: var(--k-headline);
}
.entry-content h2 {
	font-size: 1.25em;
	line-height: 1.35;
	font-weight: bold;
	margin: 1.8em 0 0.6em;
}
.entry-content h3 {
	font-size: 1.25em;
	line-height: 1.35;
	margin: 1.8em 0 0.6em;
}
.entry-content h4 {
	font-size: 1em;
	font-weight: bold;
	margin: var(--k-rhythm) 0 0.5em;
}
.entry-content h5,
.entry-content h6 {
	font-size: 0.8125em;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin: var(--k-rhythm) 0 0.6em;
}
.entry-content h5 {
	font-weight: bold;
}
.entry-content h6 {
	font-weight: normal;
}
.entry-content h2 + h3,
.entry-content h3 + h4 {
	margin-top: 0.8em;
}
.entry-content > :first-child {
	margin-top: 0;
}
.entry-content ul,
.entry-content ol {
	margin-block: 0 var(--k-rhythm);
	margin-inline: var(--k-rhythm) 0;
}
.entry-content li {
	margin-bottom: 0.4em;
	padding-inline-start: 0.2em;
}
.entry-content ol {
	font-variant-numeric: lining-nums;
}
.entry-content ul {
	list-style: square;
}
.entry-content li ul,
.entry-content li ol {
	margin-block: 0.4em 0;
	margin-inline: var(--k-rhythm) 0;
}
.entry-content blockquote {
	margin-block: 0 var(--k-rhythm);
	margin-inline: 0.8em 0;
	padding-inline-start: 0.8em;
	border-inline-start: 1px solid var(--k-border);
	color: var(--k-muted);
}
.entry-content blockquote em,
.entry-content blockquote i {
	font-style: normal;
}
.entry-content blockquote cite {
	display: block;
	font-style: normal;
	font-size: 0.8125em;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--k-meta);
	margin-top: 1em;
}
/* Paragraphs inside a quote sit closer than body paragraphs (half a line); the source
   keeps the same gap below the last paragraph. */
.entry-content blockquote p {
	margin-bottom: calc(var(--k-rhythm) / 2);
}
.entry-content blockquote p:last-of-type {
	margin-bottom: 0;
}
.entry-content .wp-block-pullquote {
	border-top: 3px double var(--k-border);
	border-bottom: 3px double var(--k-border);
	padding: 1em 0;
	margin: 0 0 var(--k-rhythm);
	text-align: center;
}
.entry-content .wp-block-pullquote blockquote {
	border: 0;
	padding: 0;
	font-size: 1.25em;
	line-height: 1.45;
	color: var(--k-text);
}
.entry-content code,
.entry-content kbd {
	font-family: ui-monospace, Menlo, Consolas, Monaco, "Courier New", monospace;
	font-size: 0.8125em;
	background: var(--k-code-bg);
	padding: 0.1em 0.3em;
}
.entry-content kbd {
	border: 1px solid var(--k-border);
	border-bottom-width: 2px;
	border-radius: 3px;
	padding: 0.05em 0.35em;
}
.entry-content pre {
	font-family: ui-monospace, Menlo, Consolas, Monaco, "Courier New", monospace;
	font-size: 0.8125em;
	line-height: 1.6;
	tab-size: 4;
	background: var(--k-code-bg);
	border: 1px solid var(--k-border);
	padding: 1em;
	margin-bottom: var(--k-rhythm);
	overflow: auto;
}
/* Wide code blocks are focusable (js/scroll-regions.js) so they can be scrolled with keys. */
.entry-content pre:focus-visible {
	outline: 2px solid var(--k-link);
	outline-offset: 2px;
}
.entry-content pre code {
	background: none;
	padding: 0;
	font-size: 1em;
}
.entry-content table {
	width: 100%;
	margin-bottom: var(--k-rhythm);
	font-size: 0.875em;
	line-height: 1.5;
	font-variant-numeric: lining-nums tabular-nums;
}
.entry-content th,
.entry-content td {
	border: 1px solid var(--k-border);
	padding: 0.4em 0.6em;
	text-align: start;
}
.entry-content th {
	background: var(--k-tab);
	font-weight: normal;
	font-size: 0.857em;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
/* Images: a single source of bottom spacing, equal to paragraph spacing */
.entry-content img {
	vertical-align: bottom;
}
.entry-content figure img,
.entry-content > img {
	display: block;
}
.entry-content > figure,
.entry-content > .wp-caption,
.entry-content > img,
.entry-content > .wp-block-gallery {
	margin-top: 0;
	margin-bottom: var(--k-rhythm);
}
.entry-content .alignleft {
	float: inline-start;
	margin-block: 0.3em 1em;
	margin-inline: 0 var(--k-rhythm);
}
.entry-content .alignright {
	float: inline-end;
	margin-block: 0.3em 1em;
	margin-inline: var(--k-rhythm) 0;
}
.entry-content .aligncenter {
	display: block;
	margin-inline-start: auto;
	margin-inline-end: auto;
}
/* Captioned media share one framed style, whatever editor produced the markup:
   classic [caption] (.wp-caption), image blocks and gallery blocks with a caption. */
.wp-caption,
.entry-content .wp-block-image:has(> figcaption):not(.wp-block-gallery > .wp-block-image),
.entry-content .wp-block-gallery:has(> .blocks-gallery-caption) {
	max-width: 100%;
	background: var(--k-code-bg);
	border: 1px solid var(--k-border);
	padding: 1.1rem;
	text-align: center;
	font-style: italic;
}
/* Classic captions carry the image width inline: keep the image at that width inside the frame. */
.wp-caption[style*="width"] {
	box-sizing: content-box;
	max-width: calc(100% - 2.4rem);
}
.entry-content .wp-block-image:has(> figcaption):not(.wp-block-gallery > .wp-block-image) {
	width: fit-content;
}
.wp-caption img,
.entry-content .wp-block-image:has(> figcaption) img {
	margin: 0 auto;
}
/* The gallery's row gap already sits above its caption: subtract it so the caption keeps the
   same 1.1rem space as other captions. The registered property resolves the gap (often in em)
   on the gallery itself, not at the caption's smaller font size. */
/* Default gallery block spacing matches Jetpack tiled galleries (4px). Galleries with a custom
   block spacing set in the editor keep their own value. */
.entry-content {
	--wp--style--gallery-gap-default: 4px;
}
@property --k-gallery-gap {
	syntax: "<length>";
	inherits: true;
	initial-value: 0px;
}
.entry-content .wp-block-gallery.has-nested-images {
	--k-gallery-gap: var(--wp--style--unstable-gallery-gap, 16px);
}
.entry-content .wp-block-gallery > .blocks-gallery-caption {
	text-align: center;
	margin-top: max(0px, calc(1.1rem - var(--k-gallery-gap)));
}
/* Classic [gallery] shortcode as WordPress renders it (when no plugin replaces it): a grid with
   the gallery's column count and the same 4px gap as gallery blocks. */
.entry-content .gallery {
	display: grid;
	grid-template-columns: repeat(var(--k-gallery-cols, 3), minmax(0, 1fr));
	gap: 4px;
	margin: 0 0 var(--k-rhythm);
}
.gallery-columns-1 {
	--k-gallery-cols: 1;
}
.gallery-columns-2 {
	--k-gallery-cols: 2;
}
.gallery-columns-4 {
	--k-gallery-cols: 4;
}
.gallery-columns-5 {
	--k-gallery-cols: 5;
}
.gallery-columns-6 {
	--k-gallery-cols: 6;
}
.gallery-columns-7 {
	--k-gallery-cols: 7;
}
.gallery-columns-8 {
	--k-gallery-cols: 8;
}
.gallery-columns-9 {
	--k-gallery-cols: 9;
}
.entry-content .gallery-item {
	margin: 0;
	min-width: 0;
}
.entry-content .gallery-icon img {
	display: block;
	width: 100%;
	height: auto;
}
.entry-content .gallery-item .gallery-caption {
	margin: 0.4rem 0 0;
	text-align: center;
}
.wp-caption-text,
figcaption,
.gallery-caption {
	font-size: 0.8125em;
	line-height: 1.538;
	font-style: italic;
	color: var(--k-muted);
	margin-top: 1.1rem;
}
/* Captions get the same space above as the caption box padding below, and no bottom margin:
   the figure's own margin is the single source of space after it (overrides core block styles). */
.entry-content figure figcaption,
.entry-content .wp-caption .wp-caption-text {
	margin: 1.1rem 0 0;
}
.entry-content .more-link {
	font-style: italic;
}
.entry::after,
.entry-content::after {
	content: "";
	display: table;
	clear: both;
}
.post-thumbnail {
	display: block;
	margin-bottom: var(--k-rhythm);
}

.entry-footer,
.comments-link {
	font-size: 1.3rem;
	line-height: 1.692;
	color: var(--k-meta);
	margin-bottom: 2.4rem;
}
.entry-footer {
	font-style: italic;
}
.entry-footer a {
	color: var(--k-meta);
}
.comments-link {
	color: var(--k-muted);
}
.comments-link .count,
.comments-title .count {
	font-size: 2.2rem;
	line-height: 1;
	color: var(--k-text);
	padding-inline-end: 0.3rem;
	font-variant-numeric: lining-nums;
}
.comments-link .brace,
.comments-title .brace {
	font-size: 2.2rem;
	line-height: 1;
	color: var(--k-faint);
	font-style: normal;
	vertical-align: 0.025em;
}
.comments-link a {
	color: var(--k-muted);
	text-decoration: none;
}
.comments-link a:hover {
	color: var(--k-text);
	text-decoration: underline;
}

/* Archive pages */
#archive-header {
	padding-block: 2.2rem;
	padding-inline: 2.2rem;
	border-bottom: 2px solid var(--k-border);
}
#archive-header p {
	font-size: 1.1rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--k-meta);
	margin-bottom: 0.5rem;
}
#archive-header h1 {
	font-family: var(--k-font-headline);
	font-size: 2.2rem;
	line-height: 1.364;
	font-weight: normal;
	color: var(--k-headline);
}
#archive-header .archive-description {
	font-size: 1.4rem;
	line-height: 1.571;
	color: var(--k-widget-title);
	margin-top: 0.8rem;
}

/* Prev/next navigation */
.pagination,
.comment-navigation {
	padding-block: 1.1rem;
	padding-inline: 2.2rem;
	border-top: 1px solid var(--k-border);
	font-size: 1rem;
	line-height: 2.2;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--k-muted);
	display: flex;
	justify-content: space-between;
	gap: 1rem;
}
.pagination a,
.comment-navigation a {
	text-decoration: none;
}
.pagination a:hover,
.comment-navigation a:hover {
	text-decoration: underline;
}
.post-navigation {
	flex-direction: column;
	gap: 0.55rem;
}
.post-navigation span {
	display: block;
}
.post-navigation span.next {
	text-align: start;
}
.post-navigation a {
	font-size: 1.4rem;
	line-height: 1.571;
	text-transform: none;
	letter-spacing: normal;
}
/* Comment pages sit inside #comments, which already has the side padding. */
.comment-navigation {
	padding-inline-start: 0;
	padding-inline-end: 0;
	margin-bottom: 2.2rem;
}
.pagination .nav-links,
.comment-navigation .nav-links {
	display: flex;
	justify-content: space-between;
	width: 100%;
	gap: 1rem;
}
/* Newer and older links only: newer on the left, older on the right (as with page numbers). */
.pagination .nav-next {
	order: -1;
}
.pagination .nav-previous {
	margin-inline-start: auto;
	text-align: end;
}
/* Page numbers: small tabs between the newer and older links. */
.pagination .nav-links {
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 0 0.4rem;
}
.pagination .page-numbers.prev {
	margin-inline-end: auto;
}
.pagination .page-numbers.next {
	margin-inline-start: auto;
}
.pagination .page-numbers:not(.prev, .next) {
	min-width: 2.4rem;
	font-size: 1.2rem;
	line-height: 2.2rem;
	letter-spacing: normal;
	text-align: center;
	padding: 0 0.5rem;
	color: var(--k-text);
	background: var(--k-tab);
	border: 1px solid var(--k-border);
}
.pagination a.page-numbers:not(.prev, .next):hover {
	background: var(--k-tab-hover);
	text-decoration: none;
}
.pagination .page-numbers.current {
	background: var(--k-bg);
	font-weight: bold;
}
.pagination .page-numbers.dots {
	background: none;
	border-color: transparent;
	min-width: 0;
	padding: 0 0.2rem;
}

/* ---------- Sidebar / widget ---------- */
/* Footer and feature box widgets share the sidebar's widget styles, so a widget looks the
   same everywhere. The feature box keeps its larger text and headline-style titles. */
.widget-area .widget {
	margin-bottom: 3.6rem;
}
.widget-area h3,
.widget-area .widget-title,
.widget-area .wp-block-heading,
#footer-widgets h2,
#footer-widgets h3,
#footer-widgets .widget-title,
#footer-widgets .wp-block-heading {
	font-size: 1em;
	line-height: 1.385;
	font-weight: normal;
	font-variant: small-caps;
	letter-spacing: 2px;
	color: var(--k-widget-title);
	margin-bottom: 0.7em;
}
.widget-area ul,
#footer-widgets ul,
#feature-box ul {
	list-style: none;
}
.widget-area ul li,
#footer-widgets ul li,
#feature-box ul li {
	margin-bottom: 0.6em;
}
.widget-area ul ul,
#footer-widgets ul ul,
#feature-box ul ul {
	margin-top: 0.6em;
	margin-inline-start: 1.2rem;
}
.widget-area a,
#footer-widgets a,
#feature-box a {
	text-decoration: none;
}
.widget-area a:hover,
#footer-widgets a:hover,
#feature-box a:hover {
	text-decoration: underline;
}
.widget-area p,
#footer-widgets p,
#feature-box p {
	margin-bottom: 1em;
}
.widget-area select,
#footer-widgets select,
#feature-box select {
	max-width: 100%;
}
.widget-area .widget-box,
.widget-area .is-style-box,
#footer-widgets .widget-box,
#footer-widgets .is-style-box,
#feature-box .widget-box,
#feature-box .is-style-box {
	background: var(--k-box-bg);
	border: 1px solid var(--k-box-border);
	padding: 0.7em;
}
.wp-calendar-table,
#wp-calendar {
	width: 98%;
	border-collapse: collapse;
}
.wp-calendar-table caption,
#wp-calendar caption {
	font-size: 0.846em;
	line-height: 2;
	text-transform: uppercase;
	letter-spacing: 2px;
	background: var(--k-cal-caption);
	text-align: center;
}
.wp-calendar-table th,
#wp-calendar th {
	width: 14%;
	font-size: 0.846em;
	line-height: 2;
	font-weight: normal;
	background: var(--k-cal-th);
	border-bottom: 1px solid var(--k-border);
	text-align: center;
}
.wp-calendar-table td,
#wp-calendar td {
	width: 14%;
	line-height: 1.692;
	color: var(--k-meta);
	text-align: center;
}
.wp-calendar-table td a,
#wp-calendar td a {
	font-weight: bold;
	display: block;
}
.wp-calendar-table td a:hover,
#wp-calendar td a:hover {
	background: var(--k-tab-hover);
	text-decoration: none;
}
.wp-calendar-nav {
	font-size: 0.846em;
	text-transform: uppercase;
	letter-spacing: 1px;
	display: flex;
	justify-content: space-between;
	padding: 0.3em 0.5em;
}

/* Form */
input[type="text"],
input[type="search"],
input[type="email"],
input[type="url"],
input[type="password"],
textarea {
	font-family: inherit;
	font-size: 1.3rem;
	line-height: 1.5;
	color: var(--k-input-text);
	background: var(--k-code-bg);
	border: 1px solid var(--k-input-border);
	border-inline-end-color: var(--k-border);
	border-bottom-color: var(--k-border);
	padding: 0.3rem;
	max-width: 100%;
}
textarea {
	resize: vertical;
}
input[type="text"]:focus,
input[type="search"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus {
	background: var(--k-bg);
	border-color: var(--k-focus-border);
	border-inline-end-color: var(--k-faint);
	border-bottom-color: var(--k-faint);
	outline: 0;
}
/* Keyboard focus ring for every interactive element (follows the link color, so it adapts to dark mode). */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 2px solid var(--k-link);
	outline-offset: 2px;
}
input[type="text"]:focus-visible,
input[type="search"]:focus-visible,
input[type="email"]:focus-visible,
input[type="url"]:focus-visible,
input[type="password"]:focus-visible,
textarea:focus-visible {
	outline-offset: 0;
}
button,
input[type="submit"],
.wp-block-search__button {
	font-family: inherit;
	font-size: 1.3rem;
	font-weight: bold;
	color: var(--k-text);
	background: linear-gradient(var(--k-btn-top), var(--k-btn-bottom));
	border: 2px solid var(--k-btn-border);
	border-top-color: var(--k-faint);
	border-inline-start-color: var(--k-faint);
	padding: 0.3rem 0.6rem;
	cursor: pointer;
	width: auto;
}
/* Hover flips the gradient (light at the bottom), so the feedback stays neutral and follows
   the color preset and dark mode. */
button:hover,
input[type="submit"]:hover,
.wp-block-search__button:hover {
	background: linear-gradient(var(--k-btn-bottom), var(--k-btn-top));
}
/* Select, checkbox and radio: drawn like the text fields (sunken border, gray fill), in the
   theme colors so they follow the color preset and dark mode. */
select {
	appearance: none;
	font-family: inherit;
	font-size: 1.3rem;
	line-height: 1.5;
	color: var(--k-input-text);
	background-color: var(--k-code-bg);
	border: 1px solid var(--k-input-border);
	border-inline-end-color: var(--k-border);
	border-bottom-color: var(--k-border);
	border-radius: 0;
	padding-block: 0.3rem;
	padding-inline: 0.3rem 2.4rem;
	max-width: 100%;
	cursor: pointer;
	/* Small down-pointing triangle on the right, in the text color. */
	background-image:
		linear-gradient(45deg, transparent 50%, var(--k-input-text) 50%),
		linear-gradient(135deg, var(--k-input-text) 50%, transparent 50%);
	background-position:
		right 1.2rem center,
		right 0.8rem center;
	background-size: 0.4rem 0.4rem;
	background-repeat: no-repeat;
}
/* background-position has no logical form: the arrow moves to the left in right-to-left text. */
select:dir(rtl) {
	background-position:
		left 0.8rem center,
		left 1.2rem center;
}
select[multiple],
select[size]:not([size="1"]) {
	background-image: none;
	padding-inline-end: 0.3rem;
	cursor: default;
}
select:focus {
	background-color: var(--k-bg);
	border-color: var(--k-focus-border);
	border-inline-end-color: var(--k-faint);
	border-bottom-color: var(--k-faint);
}
input[type="checkbox"],
input[type="radio"] {
	appearance: none;
	display: inline-grid;
	place-content: center;
	flex: none;
	/* Sized from the label text, centered on its capital letters. */
	font-size: inherit;
	width: max(1.2rem, 0.875em);
	height: max(1.2rem, 0.875em);
	margin-block: 0;
	margin-inline: 0 0.4em;
	vertical-align: 0.05em;
	background: var(--k-code-bg);
	border: 1px solid var(--k-input-border);
	border-inline-end-color: var(--k-border);
	border-bottom-color: var(--k-border);
	cursor: pointer;
}
input[type="radio"] {
	border-radius: 50%;
}
input[type="checkbox"]::before {
	content: "";
	width: 0.6em;
	height: 0.6em;
	background: var(--k-text);
	clip-path: polygon(14% 44%, 0 59%, 40% 100%, 100% 22%, 86% 8%, 39% 70%);
	transform: scale(0);
}
input[type="radio"]::before {
	content: "";
	width: 0.4em;
	height: 0.4em;
	border-radius: 50%;
	background: var(--k-text);
	transform: scale(0);
}
input[type="checkbox"]:checked::before,
input[type="radio"]:checked::before {
	transform: scale(1);
}
input[type="checkbox"]:checked,
input[type="radio"]:checked {
	background: var(--k-bg);
	border-color: var(--k-focus-border);
}
/* Some plugins (such as Jetpack's comment subscription boxes) put appearance and width in
   an inline style, which only !important can override. */
input[type="checkbox"][style],
input[type="radio"][style] {
	appearance: none !important;
	width: max(1.2rem, 0.875em) !important;
}
input:disabled,
select:disabled,
textarea:disabled,
button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}
/* Windows high contrast and other forced color modes: use the system controls. */
@media (forced-colors: active) {
	select,
	input[type="checkbox"],
	input[type="radio"] {
		appearance: auto !important;
	}
	input[type="checkbox"]::before,
	input[type="radio"]::before {
		display: none;
	}
}
.search-form {
	display: flex;
	gap: 0.4rem;
}
.search-form .search-field {
	flex: 1;
	min-width: 0;
}

/* ---------- Comments ---------- */
#comments {
	padding: 0 2.2rem;
	margin-top: 3.3rem;
}
.comments-title {
	font-size: 1.2rem;
	line-height: 1.833;
	color: var(--k-muted);
	margin-bottom: 1.1rem;
}
.comments-title a {
	text-decoration: underline;
}
.comments-title a:hover {
	text-decoration: none;
}
.comment-list {
	list-style: none;
	border-top: 1px dotted var(--k-border-dot);
	margin-bottom: 4.4rem;
}
.comment-list > .comment {
	border-bottom: 1px dotted var(--k-border-dot);
}
.comment-list .children {
	list-style: none;
	margin-block: 0 2.2rem;
	margin-inline: 2.2rem 0;
}
.comment-list .children .comment-body {
	border-inline-start: 1px solid var(--k-border);
	padding-top: 0;
	margin-top: 1.1rem;
}
.comment-list .children .bypostauthor > .comment-body {
	border-inline-start: 2px solid var(--k-author-border);
}
.comment-body {
	padding: 1.8rem 1.1rem 0;
}
.comment-list > .bypostauthor > .comment-body {
	background: var(--k-author-bg);
}
.comment-number a {
	font-weight: bold;
	color: var(--k-num);
	text-decoration: none;
	padding: 0.1rem 0.3rem;
}
.comment-number a:hover {
	color: var(--k-bg);
	background: var(--k-num);
}
/* Comment header: avatar | name + time | number */
.comment-meta {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	column-gap: 1rem;
	font-size: 1.2rem;
	line-height: 1.5;
	color: var(--k-meta);
}
.comment-meta.has-avatar {
	grid-template-columns: var(--k-avatar-size) 1fr auto;
}
.comment-meta .avatar {
	display: block;
	width: var(--k-avatar-size);
	height: var(--k-avatar-size);
	border: 0;
}
.comment-head {
	min-width: 0;
}
.comment-author {
	font-size: 1.6rem;
	line-height: 1.375;
	font-weight: bold;
	color: var(--k-text);
	margin-inline-end: 0.8rem;
}
.comment-metadata {
	white-space: nowrap;
}
.comment-number {
	font-size: 1.2rem;
	line-height: 1.833;
	justify-self: end;
}
.comment-author .says {
	display: none;
}
.comment-metadata a {
	color: var(--k-meta);
	text-decoration: none;
}
.comment-content {
	font-size: 1.5rem;
	line-height: 1.6;
	padding: 0.8rem 0;
}
.comment-content p {
	margin-bottom: 1em;
}
.reply {
	font-size: 1.1rem;
	line-height: 1.636;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding-bottom: 1.1rem;
}
.reply a {
	color: var(--k-meta);
	text-decoration: none;
}
.reply a:hover {
	text-decoration: underline;
}
.comment-awaiting-moderation {
	font-style: italic;
	color: var(--k-meta);
}
#respond {
	margin-bottom: 4.4rem;
}
/* When replying, core moves #respond right after the comment inside the list:
   give it the same top/side spacing as a comment and separate it from the next one. */
.comment-list #respond {
	margin: 0;
	padding: 2.2rem 1.1rem;
	border-bottom: 1px dotted var(--k-border-dot);
}
.comment-list .children #respond {
	border-bottom: 0;
}
.comment-reply-title {
	font-family: var(--k-font-headline);
	font-size: 1.7rem;
	line-height: 1.294;
	color: var(--k-widget-title);
	font-weight: normal;
	margin-bottom: 1.1rem;
}
.comment-reply-title small {
	float: inline-end;
}
#cancel-comment-reply-link {
	font-size: 1.1rem;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 1px;
	text-decoration: none;
	color: #fff;
	background: #d00;
	border: 2px solid #ac0000;
	border-top-color: #fa5a5a;
	border-inline-start-color: #fa5a5a;
	padding: 0.6rem 0.8rem;
	display: inline-block;
}
.comment-form {
	border-top: 1px dotted var(--k-border-dot);
	padding-top: 1.1rem;
}
.comment-form p {
	margin-bottom: 1em;
	font-size: 1.4rem;
	line-height: 1.571;
}
.comment-form p a {
	text-decoration: underline;
}
.comment-form .field-inline {
	display: flex;
	align-items: center;
	gap: 0.8em;
}
.comment-form .field-inline input {
	width: 45%;
	font-size: 1em;
	padding: 0.2em;
}
.comment-form .field-inline label {
	color: var(--k-text);
}
.comment-form .required {
	color: #d00;
}
.comment-form textarea {
	width: 96%;
	height: 12.6em;
	font-size: 1em;
	line-height: 1.571;
	padding: 0.2em;
}
.comment-form .form-submit input {
	font-size: 1.143em;
	padding: 0.3em 0.25em;
}
.comment-form .comment-form-cookies-consent label {
	display: inline;
}
.comment-notes,
.logged-in-as {
	color: var(--k-meta);
	font-size: 1.2rem;
}
.comments-closed {
	font-size: 1.2rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--k-meta);
	margin: 4.4rem 0 2.2rem;
}

/* ---------- Footer ---------- */
#colophon {
	padding-block: 1.1rem;
	padding-inline: 2.2rem;
	border-top: 3px double var(--k-border);
	color: var(--k-meta);
	text-align: end;
	font-size: 1.2rem;
	line-height: 1.833;
	margin-top: 0;
}
#colophon a {
	color: var(--k-meta);
	text-decoration: none;
	border-bottom: 1px solid var(--k-faint);
}
#colophon a:hover {
	color: var(--k-text);
}
#footer-widgets {
	display: flex;
	gap: 2.2rem;
	padding: 2.2rem;
	border-top: 3px double var(--k-border);
	text-align: start;
	font-family: var(--k-font-sidebar);
	font-size: var(--k-sidebar-size);
	line-height: var(--k-sidebar-lh);
}
#footer-widgets .widget {
	flex: 1;
}
/* A fixed number of footer columns: widgets fill a grid and wrap to new rows. */
#footer-widgets[class*="columns-"] {
	display: grid;
	grid-template-columns: repeat(var(--k-footer-cols), minmax(0, 1fr));
}
#footer-widgets.columns-1 {
	--k-footer-cols: 1;
}
#footer-widgets.columns-2 {
	--k-footer-cols: 2;
}
#footer-widgets.columns-3 {
	--k-footer-cols: 3;
}
#footer-widgets.columns-4 {
	--k-footer-cols: 4;
}

/* ---------- Classic utility classes ---------- */
.entry-content .drop-cap {
	float: inline-start;
	font-size: 3.571em;
	line-height: 0.76;
	padding-block: 0.04em 0;
	padding-inline: 0 0.12em;
	color: var(--k-meta);
}
.entry-content p.is-style-note,
.entry-content p.is-style-alert {
	padding: 0.571em 0.786em;
}
.entry-content p.is-style-note {
	background: var(--k-light-bg);
	border: 1px solid var(--k-border);
}
.entry-content p.is-style-alert {
	background: var(--k-alert-bg);
	border: 1px solid var(--k-alert-border);
}
.entry-content img.is-style-frame,
.entry-content .is-style-frame img {
	background: var(--k-code-bg);
	border: 1px solid var(--k-border);
	padding: 0.714em;
}
.entry-content blockquote.pullquote-left,
.entry-content blockquote.pullquote-right {
	width: 45%;
	border: 0;
	padding: 0;
	font-size: 1.286em;
	line-height: 1.222;
}
.entry-content blockquote.pullquote-right {
	float: inline-end;
	margin-block: 0 1.222em;
	margin-inline: 1.222em 0;
}
.entry-content blockquote.pullquote-left {
	float: inline-start;
	margin-block: 0 1.222em;
	margin-inline: 0 1.222em;
}

/* ---------- Layout variants (Customizer) ---------- */
.layout-sidebar-content #secondary {
	order: -1;
	border-inline-start: 0;
	border-inline-end: 1px solid var(--k-border);
}
.layout-content #main {
	flex: 1 1 auto;
	max-width: none;
}
/* Two-sidebar layouts are wider than the 960px stacking point, so between that point and
   the full page width every column narrows in proportion instead of overflowing (split
   sidebars) or squeezing only the sidebars (right sidebars). */
.layout-content-sidebar-sidebar #main,
.layout-sidebar-content-sidebar #main {
	flex-shrink: 1;
}
.layout-content-sidebar-sidebar #secondary {
	flex: 0 1 calc(2 * var(--k-sidebar-w));
}
.layout-content-sidebar-sidebar #sidebar-1 {
	border-inline-end: 1px dotted var(--k-border);
}
.layout-sidebar-content-sidebar #secondary {
	display: contents;
}
.layout-sidebar-content-sidebar .widget-area {
	flex: 0 1 var(--k-sidebar-w);
	max-width: var(--k-sidebar-w);
}
.layout-sidebar-content-sidebar #sidebar-1 {
	order: -1;
	border-inline-end: 1px solid var(--k-border);
}
.layout-sidebar-content-sidebar #sidebar-2 {
	border-inline-start: 1px solid var(--k-border);
}
/* With the navigation below, the header starts the page: the page's own padding is the
   space above it, and the navigation gets the full gap below it. */
.nav-below #masthead {
	border-bottom: 0;
	padding-top: 0;
}
.nav-below #site-navigation {
	margin-bottom: 0;
}
.no-comment-braces .comments-link .brace,
.no-comment-braces .comments-title .brace {
	display: none;
}

/* ---------- Header: image & alignment ---------- */
/* The image spans the full column, out to the navigation rule and the double rule below,
   while the site title keeps the header's padding. */
.header-image-link {
	display: block;
	margin-block: 0 2.2rem;
	margin-inline: -2.2rem;
}
.header-image {
	display: block;
	width: 100%;
	height: auto;
}
.header-center #masthead {
	text-align: center;
}
.header-center .custom-logo-link {
	display: inline-block;
}

/* ---------- Navigation: search box ---------- */
#site-navigation .menu > .nav-search {
	margin-inline-start: auto;
	display: flex;
	align-items: center;
	padding-block: 0;
	padding-inline: 0.8rem 0.4rem;
}
#site-navigation .menu > .nav-search + .nav-rss {
	margin-inline-start: 0;
}
#site-navigation .menu > .nav-search:last-child {
	padding-inline-end: 0;
}
#site-navigation .nav-search input {
	width: 14rem;
	font-size: var(--k-nav-size);
	padding: 0.3rem 0.5rem;
}

/* ---------- Feature box ---------- */
#feature-box {
	padding: 2.2rem;
	background: var(--k-code-bg);
	border-bottom: 2px solid var(--k-border);
}
#feature-box .widget {
	margin-bottom: 1.1rem;
	font-size: 1.4rem;
	line-height: 1.571;
}
#feature-box .widget:last-child {
	margin-bottom: 0;
}
#feature-box .widget-title {
	font-family: var(--k-font-headline);
	font-size: 1.8rem;
	font-weight: normal;
	margin-bottom: 0.6rem;
	color: var(--k-headline);
}

/* ---------- Multimedia box ---------- */
/* A grid keeps the box at its natural height while the sidebar row fills the rest of the column. */
#secondary.has-multimedia {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: auto 1fr;
}
.layout-content-sidebar-sidebar #secondary.has-multimedia {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
#secondary.has-multimedia > #multimedia-box {
	grid-column: 1 / -1;
}
/* The box's padding matches the sidebar's, so the image lines up with the widgets below. */
#multimedia-box {
	padding: 2.2rem;
	border-bottom: 1px solid var(--k-border);
}
#multimedia-box.is-image,
#multimedia-box.is-html {
	background: var(--k-code-bg);
}
#multimedia-box.is-video {
	background: #000;
}
#multimedia-box .multimedia-image {
	display: block;
	width: 100%;
	height: auto;
	padding: 1px;
	background: var(--k-bg);
	border: 1px solid var(--k-border-dot);
}
#multimedia-box .multimedia-video iframe,
#multimedia-box .multimedia-video video {
	display: block;
	width: 100%;
	height: auto;
	max-height: none;
	aspect-ratio: 16 / 9;
}
#multimedia-box.is-html {
	font-size: 1.3rem;
	line-height: 1.538;
}
.widget-area #multimedia-box {
	margin: -2.2rem -2.2rem 2.2rem;
}

/* ---------- Teaser ---------- */
.teasers {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 2.2rem;
	padding-block: 2.2rem 0;
	padding-inline: 2.2rem;
	border-top: 1px dotted var(--k-border-dot);
}
.teasers.is-first {
	border-top: 0;
}
.teaser {
	padding-bottom: 2.2rem;
	min-width: 0;
}
.teaser::after {
	content: "";
	display: table;
	clear: both;
}
.teaser h2 {
	font-family: var(--k-font-headline);
	font-size: 1.6rem;
	line-height: 1.375;
	font-weight: normal;
	color: var(--k-headline);
}
.teaser h2 a {
	color: var(--k-headline);
	text-decoration: none;
}
.teaser h2 a:hover {
	color: var(--k-link);
}
.teaser-meta {
	font-size: 1rem;
	line-height: 1.6;
	font-style: italic;
	color: var(--k-meta);
	margin-top: 0.4rem;
}
.teaser-meta a,
.teaser-meta time,
.teaser-footer a {
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--k-meta);
	text-decoration: none;
	border-bottom: 1px solid var(--k-light-bg);
}
.teaser-meta a:hover,
.teaser-footer a:hover {
	color: var(--k-text);
}
.teaser-excerpt {
	font-size: 1.2rem;
	line-height: 1.5;
	margin: 1.2rem 0;
	color: var(--k-text);
}
.teaser-links {
	font-size: 1.2rem;
	line-height: 1.5;
}
.teaser-link {
	text-decoration: none;
}
.teaser-link:hover {
	text-decoration: underline;
}
.teaser-footer {
	font-size: 1rem;
	line-height: 1.6;
	margin-top: 0.6rem;
	display: flex;
	gap: 0.8rem;
	flex-wrap: wrap;
}
.teaser-thumb {
	float: inline-start;
	margin-block: 0 0.6rem;
	margin-inline: 0 1.2rem;
}
.teaser-thumb img {
	display: block;
	width: 6.4rem;
	height: 6.4rem;
	object-fit: cover;
	padding: 1px;
	border: 1px solid var(--k-border);
}

/* ---------- Post formats ---------- */
.format-label {
	font-style: normal;
	text-transform: uppercase;
	font-size: 0.846em;
	letter-spacing: 0.12em;
}
.entry.format-aside .entry-content {
	font-size: calc(var(--k-content-size) * 0.929);
	padding-inline-start: 1.1rem;
	border-inline-start: 1px solid var(--k-border);
	color: var(--k-muted);
	/* One line of regular body text below, despite the smaller type. */
	margin-bottom: calc(var(--k-rhythm) / 0.929);
}
.entry.format-aside .entry-content:has(+ .entry-meta) {
	margin-bottom: 0;
}
.entry.format-aside .entry-content + .entry-meta {
	margin-block: 0.8rem var(--k-rhythm);
	margin-inline: 1.1rem 0;
}
.format-quote .entry-content > blockquote:first-child {
	position: relative;
	margin: 0 0 var(--k-rhythm);
	padding-block: 0;
	padding-inline: 1.1em 0;
	border: 0;
	font-family: var(--k-font-headline);
	font-size: 1.429em;
	line-height: 1.4;
	font-style: italic;
	color: var(--k-text);
}
.format-quote .entry-content > blockquote:first-child::before {
	content: "\201C";
	position: absolute;
	inset-inline-start: -0.05em;
	top: -0.1em;
	font-size: 2em;
	line-height: 1;
	font-style: normal;
	color: var(--k-meta);
}
.format-quote .entry-content > blockquote:first-child em,
.format-quote .entry-content > blockquote:first-child i {
	font-style: normal;
}
.format-quote .entry-content > blockquote:first-child p:last-of-type {
	margin-bottom: 0;
}
.format-quote .entry-content > blockquote:first-child cite {
	margin-top: 1em;
	text-align: end;
	font-family: var(--k-font-body);
	font-style: normal;
	font-size: 0.55em;
}
.format-quote .entry-content > blockquote:first-child cite::before {
	content: "\2014\00a0";
}
.link-domain {
	font-family: var(--k-font-body);
	font-size: 0.5em;
	letter-spacing: 0.06em;
	white-space: nowrap;
	color: var(--k-meta);
	text-decoration: none;
	vertical-align: 0.2em;
}
.link-domain:hover {
	color: var(--k-link);
}
.entry-header h1 .link-domain {
	font-size: 0.45em;
}
.entry.format-image .entry-content > figure:first-child img,
.entry.format-image .entry-content > .wp-block-image:first-child img {
	width: 100%;
	height: auto;
}
.gallery-preview {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.4rem;
	margin-bottom: var(--k-rhythm);
	text-decoration: none;
}
.gallery-preview-item {
	position: relative;
	display: block;
	aspect-ratio: 1;
	overflow: hidden;
	background: var(--k-light-bg);
}
.gallery-preview-item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 0.15s;
}
.gallery-preview:hover img {
	opacity: 0.85;
}
.gallery-more {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	font-size: 1.6em;
	letter-spacing: 0.04em;
}
.teaser .link-domain {
	font-size: 0.625em;
}
.teaser-quote {
	margin: 0.4rem 0 1.2rem;
	padding-block: 0;
	padding-inline: 1.2rem 0;
	position: relative;
	font-family: var(--k-font-headline);
	font-size: 1.5rem;
	line-height: 1.467;
	font-style: italic;
	color: var(--k-text);
}
.teaser-quote::before {
	content: "\201C";
	position: absolute;
	inset-inline-start: -0.1em;
	top: -0.1em;
	font-size: 2.2em;
	line-height: 1;
	font-style: normal;
	color: var(--k-meta);
}
.teaser-quote cite {
	display: block;
	margin-top: 0.6rem;
	text-align: end;
	font-family: var(--k-font-body);
	font-style: normal;
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--k-meta);
}
.teaser-quote cite::before {
	content: "\2014\00a0";
}
.teaser.format-aside .teaser-excerpt {
	margin-top: 0;
	padding-inline-start: 1rem;
	border-inline-start: 1px solid var(--k-border);
}

/* ---------- Excerpts & drop cap ---------- */
.more-link-wrap {
	font-style: italic;
}
.auto-drop-cap .entry .entry-content > p:first-of-type::first-letter {
	float: inline-start;
	font-size: 3.571em;
	line-height: 0.76;
	padding-block: 0.04em 0;
	padding-inline: 0 0.12em;
	color: var(--k-meta);
}

/* ---------- Author box ---------- */
.author-box {
	display: flex;
	gap: 1.6rem;
	align-items: flex-start;
	margin-block: 0 2.2rem;
	margin-inline: 2.2rem;
	padding: 1.6rem;
	background: var(--k-light-bg);
	border: 1px solid var(--k-border);
}
.author-box .avatar {
	flex: 0 0 auto;
	display: block;
	width: 64px;
	height: 64px;
}
.author-box-text {
	font-size: 1.4rem;
	line-height: 1.571;
	min-width: 0;
}
.author-box h3 {
	font-family: var(--k-font-headline);
	font-size: 1.3rem;
	font-weight: normal;
	font-variant: small-caps;
	letter-spacing: 2px;
	color: var(--k-widget-title);
	margin-bottom: 0.4rem;
}
.author-box p {
	margin-bottom: 0.6rem;
}
.author-box p:last-child {
	margin-bottom: 0;
}
.author-box-link {
	font-size: 1.2rem;
}
.author-box-link a {
	text-decoration: none;
}

/* ---------- Related posts ---------- */
.related-posts {
	margin-block: 0 2.2rem;
	margin-inline: 2.2rem;
	padding-top: 1.6rem;
	border-top: 1px dotted var(--k-border-dot);
	font-size: 1.4rem;
	line-height: 1.571;
}
.related-posts-title {
	font-family: var(--k-font-headline);
	font-size: 1.3rem;
	font-weight: normal;
	font-variant: small-caps;
	letter-spacing: 2px;
	color: var(--k-widget-title);
	margin-bottom: 0.7em;
}
.related-posts ul {
	list-style: none;
}
.related-posts li {
	margin-bottom: 0.5em;
}
/* Underlined like links in post text: the titles sit beside the dates, so color alone
   would not set them apart. */
.related-posts a:hover {
	text-decoration: none;
}
.related-posts-date {
	margin-inline-start: 0.5em;
	font-size: 0.857em;
	font-style: italic;
	color: var(--k-meta);
	white-space: nowrap;
}

/* Jetpack Likes load in iframes whose pages are light. When the theme is dark, the browser
   paints a white backdrop behind an iframe of a different color scheme; matching the
   scheme keeps the iframe transparent, so the buttons sit on the theme background. */
.jetpack-likes-widget-wrapper iframe {
	color-scheme: light;
}

/* ---------- Comments: alternating background, trackbacks ---------- */
.comment-alt-bg .comment-list > .comment:nth-child(even):not(.bypostauthor) > .comment-body {
	background: var(--k-light-bg);
}
.pings-title {
	font-size: 1.2rem;
	line-height: 1.833;
	font-weight: normal;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--k-muted);
	margin-bottom: 0.6rem;
}
#ping-list {
	list-style: none;
	border-top: 1px dotted var(--k-border-dot);
	padding-top: 1.1rem;
	margin-bottom: 4.4rem;
}
#ping-list li {
	margin-bottom: 0.6rem;
}
#ping-list a {
	font-size: 1.4rem;
	line-height: 1.571;
	color: var(--k-text);
	text-decoration: none;
}
#ping-list a:hover {
	text-decoration: underline;
}
#ping-list span {
	font-size: 1.2rem;
	color: var(--k-meta);
	margin-inline-start: 0.6rem;
}

/* ---------- 404 ---------- */
.error-404 .entry-content ul {
	list-style: square;
}

/* ======================================================
   Responsive
   ====================================================== */
@media (max-width: 960px) {
	#site-content {
		flex-direction: column;
	}
	#main {
		flex: 1 1 auto;
		max-width: none;
	}
	/* Every layout stacks the same way: content first, then the sidebars below a double rule.
     Left and split sidebars lose their desktop order and vertical rules. */
	#secondary,
	.layout-sidebar-content #secondary {
		order: 0;
		border-inline-start: 0;
		border-inline-end: 0;
		border-top: 3px double var(--k-border);
	}
	.layout-sidebar-content-sidebar #secondary {
		display: flex;
	}
	.layout-sidebar-content-sidebar .widget-area {
		order: 0;
		flex: 1 1 0;
		max-width: none;
		border-inline-start: 0;
		border-inline-end: 0;
	}
	/* Two sidebars sit side by side, split by a dotted rule (as in the right-sidebars layout). */
	.layout-sidebar-content-sidebar #sidebar-1 {
		border-inline-end: 1px dotted var(--k-border);
	}
	.layout-sidebar-content-sidebar #sidebar-2 {
		border-inline-start: 0;
	}
	/* The multimedia box takes one column instead of the full width, which would make
     it about as tall as the screen: widgets sit beside it (one sidebar), or the second
     sidebar does (two right sidebars). */
	#secondary.has-multimedia {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		grid-template-areas: "mm s1";
	}
	.layout-content-sidebar-sidebar #secondary.has-multimedia {
		grid-template-rows: auto 1fr;
		grid-template-areas: "mm s2" "s1 s2";
	}
	#secondary.has-multimedia > #multimedia-box {
		grid-area: mm;
		align-self: start;
	}
	#secondary.has-multimedia > #sidebar-1 {
		grid-area: s1;
	}
	#secondary.has-multimedia > #sidebar-2 {
		grid-area: s2;
	}
}
@media (max-width: 640px) {
	/* Page numbers get a row of their own; the newer and older links sit below. */
	.pagination .nav-links {
		justify-content: center;
	}
	.pagination .nav-links::after {
		content: "";
		flex-basis: 100%;
		order: 1;
	}
	.pagination .page-numbers.prev,
	.pagination .page-numbers.next {
		order: 2;
		margin-top: 0.4rem;
	}
	/* Wide classic galleries drop to three columns on phones. */
	.entry-content
		.gallery:is(
			.gallery-columns-4,
			.gallery-columns-5,
			.gallery-columns-6,
			.gallery-columns-7,
			.gallery-columns-8,
			.gallery-columns-9
		) {
		--k-gallery-cols: 3;
	}
	#site-inner {
		padding: 1.6rem;
	}
	/* On phones the box would only waste width: content runs edge to edge. */
	.boxed #page {
		width: auto;
		margin: 0;
		border: 0;
	}
	#masthead {
		padding: 2rem 0;
	}
	.header-image-link {
		margin-inline: 0;
	}
	.menu-toggle {
		display: block;
		width: 100%;
		text-align: start;
		font-size: var(--k-nav-size);
		letter-spacing: var(--k-nav-spacing);
		text-transform: var(--k-nav-transform);
		background: var(--k-tab);
		border: 1px solid var(--k-border);
		padding: 0.8rem 1rem;
		font-weight: normal;
	}
	.menu-toggle::after {
		content: "\25BE";
		float: inline-end;
	}
	.menu-toggle[aria-expanded="true"]::after {
		content: "\25B4";
	}
	#site-navigation {
		border-bottom: 0;
	}
	#site-navigation .menu {
		display: none;
		flex-direction: column;
		top: 0;
		border: 1px solid var(--k-border);
		border-top: 0;
	}
	#site-navigation.toggled .menu {
		display: flex;
	}
	#site-navigation .menu > li {
		margin: 0;
	}
	#site-navigation .menu a,
	#site-navigation .menu > li.current-menu-item > a {
		border: 0;
		border-top: 1px solid var(--k-border);
		padding: 0.8rem 1rem;
		margin: 0;
	}
	#site-navigation .menu > li.current-menu-item > a {
		border-bottom: 0;
	}
	#site-navigation .menu > li.current-menu-item > a::after,
	#site-navigation .menu > li.current_page_item > a::after {
		display: none;
	}
	/* Submenus: collapsible, full width, indented per level */
	#site-navigation .menu li {
		display: flex;
		flex-wrap: wrap;
	}
	#site-navigation .menu li > a {
		flex: 1 1 0;
		min-width: 0;
	}
	#site-navigation .sub-toggle {
		display: block;
		flex: 0 0 4.4rem;
		align-self: stretch;
		margin: 0;
		padding: 0;
		background: var(--k-tab);
		border: 0;
		border-top: 1px solid var(--k-border);
		border-inline-start: 1px solid var(--k-border);
		color: var(--k-text);
		font-size: 1.1rem;
		font-weight: normal;
		line-height: 1;
		cursor: pointer;
	}
	#site-navigation .sub-toggle::before {
		content: "\25BE";
	}
	#site-navigation .sub-open > .sub-toggle::before {
		content: "\25B4";
	}
	#site-navigation .sub-toggle:hover {
		background: var(--k-tab-hover);
		color: var(--k-text);
	}
	#site-navigation .sub-toggle:focus-visible {
		outline: 2px solid var(--k-link);
		outline-offset: -2px;
	}
	#site-navigation .sub-menu,
	#site-navigation .sub-menu .sub-menu {
		display: none;
		position: static;
		flex: 0 0 100%;
		width: auto;
		min-width: 0;
		border: 0;
	}
	#site-navigation li:hover > .sub-menu,
	#site-navigation li:focus-within > .sub-menu {
		display: none;
	}
	#site-navigation li.sub-open > .sub-menu {
		display: block;
	}
	#site-navigation .sub-menu a {
		background: var(--k-bg);
		border-inline-start: 0;
		border-bottom: 0;
		letter-spacing: 1px;
		padding-inline-start: 2.4rem;
	}
	#site-navigation .sub-menu .sub-menu a {
		padding-inline-start: 3.8rem;
	}
	#site-navigation .sub-menu .sub-menu .sub-menu a {
		padding-inline-start: 5.2rem;
	}
	#site-navigation .sub-menu a::before {
		content: "\2013\00a0";
		color: var(--k-border-dot);
	}
	#site-navigation .sub-menu .sub-toggle {
		background: var(--k-bg);
	}
	#site-navigation .sub-menu a:hover,
	#site-navigation .sub-menu .sub-toggle:hover {
		background: var(--k-light-bg);
	}
	#site-navigation .sub-menu .current-menu-item > a,
	#site-navigation .sub-menu .current_page_item > a {
		font-weight: bold;
		cursor: text;
	}
	#site-navigation .menu > li[class*="current-"][class*="-ancestor"] > a,
	#site-navigation .menu > li[class*="current_"][class*="_ancestor"] > a,
	#site-navigation .menu > li.current-menu-parent > a {
		background: var(--k-tab-ancestor);
	}
	#site-navigation .menu > li:first-child > a,
	#site-navigation .menu > li:first-child > .sub-toggle {
		border-top: 0;
	}
	#site-navigation .menu > .nav-rss {
		margin-inline-start: 0;
	}
	#site-navigation .nav-rss a,
	#site-navigation .nav-rss a:hover {
		background: var(--k-tab);
		border-top: 1px solid var(--k-border);
		padding-block: 0.8rem;
		padding-inline: 3.2rem 1rem;
	}
	#site-navigation .nav-rss a:hover {
		background: var(--k-tab-hover);
		text-decoration: none;
	}
	#site-navigation .nav-rss a::after {
		inset-inline-start: 1rem;
		inset-inline-end: auto;
	}
	#site-navigation .menu > .nav-search,
	#site-navigation .menu > .nav-search:last-child {
		margin-inline-start: 0;
		padding: 0.8rem 1rem;
		border-top: 1px solid var(--k-border);
		background: var(--k-tab);
	}
	#site-navigation .nav-search form {
		width: 100%;
	}
	#site-navigation .nav-search input {
		width: 100%;
		font-size: 1.4rem;
	}
	.teasers {
		grid-template-columns: 1fr;
		padding-inline-start: 0;
		padding-inline-end: 0;
	}
	.author-box {
		margin-inline-start: 0;
		margin-inline-end: 0;
	}
	/* Phone sidebars have no side padding, so the box keeps a slim frame to leave room for the image. */
	#multimedia-box {
		padding: 1.1rem;
	}
	.widget-area #multimedia-box {
		margin: -2.2rem 0 2.2rem;
	}
	#feature-box {
		padding-inline-start: 1rem;
		padding-inline-end: 1rem;
	}
	.entry,
	#comments,
	.widget-area,
	#archive-header,
	.pagination,
	.comment-navigation,
	#colophon {
		padding-inline-start: 0;
		padding-inline-end: 0;
	}
	#secondary {
		flex-direction: column;
	}
	#secondary.has-multimedia,
	.layout-content-sidebar-sidebar #secondary.has-multimedia {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: auto;
		grid-template-areas: none;
	}
	#secondary.has-multimedia > #multimedia-box,
	#secondary.has-multimedia > #sidebar-1,
	#secondary.has-multimedia > #sidebar-2 {
		grid-area: auto;
	}
	#sidebar-2 {
		border-top: 1px dotted var(--k-border);
	}
	.layout-content-sidebar-sidebar #sidebar-1,
	.layout-sidebar-content-sidebar #sidebar-1 {
		border-inline-end: 0;
	}
	.comment-form .field-inline {
		flex-direction: column-reverse;
		align-items: flex-start;
		gap: 0.3em;
	}
	.comment-form .field-inline input,
	.comment-form textarea {
		width: 100%;
	}
	.entry-content blockquote.pullquote-left,
	.entry-content blockquote.pullquote-right {
		float: none;
		width: auto;
		margin: 0 0 var(--k-rhythm);
	}
	#archive-header {
		padding-inline-start: 1rem;
		padding-inline-end: 1rem;
	}
	#site-title {
		font-size: calc(var(--k-logo-size) * 0.83);
	}
	#site-description {
		font-size: 1.5rem;
	}
	.entry-header h1,
	.entry-header h2 {
		font-size: calc(var(--k-headline-size) * 0.885);
	}
	.entry-content {
		font-size: calc(var(--k-content-size) + 0.1rem);
		line-height: 1.588;
		hyphens: auto;
		-webkit-hyphens: auto;
	}
	.entry-content pre,
	.entry-content table {
		hyphens: none;
		-webkit-hyphens: none;
	}
	.entry-content .alignleft,
	.entry-content .alignright {
		float: none;
		margin: 0 auto 1.5em;
		display: block;
	}
	.comment-list .children {
		margin-inline-start: 1rem;
	}
	#colophon {
		text-align: center;
	}
	#footer-widgets {
		flex-direction: column;
		padding-inline-start: 0;
		padding-inline-end: 0;
	}
	#footer-widgets[class*="columns-"] {
		grid-template-columns: minmax(0, 1fr);
	}
	.related-posts {
		margin-inline-start: 0;
		margin-inline-end: 0;
	}
}

/* ======================================================
   Print
   ====================================================== */
@media print {
	/* Black text on white paper, whatever the color scheme. */
	html:root {
		--k-bg: #fff;
		--k-outer-bg: #fff;
		--k-text: #000;
		--k-headline: #000;
		--k-link: #000;
		--k-meta: #444;
		--k-muted: #333;
		--k-border: #aaa;
		--k-border-dot: #aaa;
		--k-code-bg: #f2f2f2;
		--k-light-bg: #f2f2f2;
		color-scheme: light;
	}
	body,
	body.boxed {
		background: #fff;
	}
	#page,
	.boxed #page {
		max-width: none;
		width: auto;
		margin: 0;
		border: 0;
	}
	#site-inner {
		padding: 0;
	}
	/* Only the article: no navigation, sidebars, forms or other page furniture. */
	#site-navigation,
	.menu-toggle,
	#secondary,
	.widget-area,
	#feature-box,
	#footer-widgets,
	.related-posts,
	#respond,
	.comment-reply-link,
	.comments-link,
	.post-navigation,
	.pagination,
	.comment-navigation,
	.post-edit-link,
	.screen-reader-text,
	.header-image-link {
		display: none !important;
	}
	#site-content {
		display: block;
	}
	#main {
		max-width: none;
	}
	.entry,
	#comments {
		padding-inline-start: 0;
		padding-inline-end: 0;
	}
	#masthead {
		padding: 0 0 1.1rem;
	}
	#colophon {
		text-align: start;
		padding-inline-start: 0;
	}
	/* Show where links go. */
	.entry-content a[href^="http"]:not(:has(img))::after {
		content: " (" attr(href) ")";
		font-size: 0.8125em;
		color: var(--k-meta);
		word-break: break-all;
	}
	.entry-content a {
		color: inherit;
	}
	/* Keep things whole across pages. */
	.entry-content :is(figure, pre, blockquote, table, img, .wp-caption) {
		break-inside: avoid;
	}
	.entry-content :is(h2, h3, h4, h5, h6),
	.entry-header {
		break-after: avoid;
	}
	.entry-content p {
		orphans: 3;
		widows: 3;
	}
	/* Paper cannot scroll sideways: wrap long code lines. */
	.entry-content pre {
		white-space: pre-wrap;
		overflow: visible;
	}
}
@page {
	margin: 2cm;
}
