/*
Theme Name: Stratum
Theme URI: https://example.com/stratum-theme
Author: Sergio
Description: A quiet, fast theme built for the Stratum Builder. Header, navigation and footer stay out of the way; builder pages get the full content column at exactly the width the builder drew, so what you design is what visitors see. Appearance → Customize → Stratum theme sets colours, the header layout, six menu hover effects, flat or hierarchical menus, sidebars on either side, typography and the footer — most of it previewing as you drag.
Version: 1.5.1
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stratum-theme
Tags: blog, one-column, two-columns, right-sidebar, left-sidebar, custom-menu, custom-logo, custom-colors, featured-images, threaded-comments, translation-ready, theme-options
*/

/* ---------------------------------------------------------------------- */
/* Design tokens                                                           */
/*                                                                          */
/* These deliberately match the builder's canvas baseline. If you change    */
/* the font stack or base size here, change --stratum-* in the plugin's     */
/* frontend.css too, or the builder will stop matching the browser.         */
/*                                                                          */
/* Every value below is also a Customizer control. Appearance → Customize → */
/* Stratum theme writes the same properties into an inline :root block that  */
/* is printed after this file, so a customised value simply lands later and  */
/* wins. Nothing in this file needs to know whether it has been customised.  */
/* ---------------------------------------------------------------------- */

:root {
	--st-font: system-ui, -apple-system, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif;
	--st-font-heading: var(--st-font);
	--st-size: 16px;
	--st-line: 1.5;

	--st-ink: #111827;
	--st-ink-2: #4b5563;
	--st-ink-3: #6b7280;
	--st-line-color: #e5e7eb;
	--st-bg: #ffffff;
	--st-bg-2: #f8fafc;
	--st-accent: #1d4ed8;
	--st-accent-ink: #ffffff;

	--st-content: 1200px;
	--st-reading: 720px;
	--st-gutter: 24px;
	--st-radius: 8px;
	--st-ease: cubic-bezier(0.2, 0.7, 0.3, 1);

	/* Header */
	--st-header-h: 68px;
	--st-header-bg: var(--st-bg);
	--st-header-ink: var(--st-ink);

	/* Menu */
	--st-nav-ink: var(--st-ink-2);
	--st-nav-ink-hover: var(--st-ink);
	--st-nav-hover-bg: #f1f5f9;
	--st-nav-accent: var(--st-accent);
	--st-nav-size: 15px;
	--st-nav-weight: 500;
	--st-nav-gap: 4px;
	--st-nav-at: 860px;
	--st-dropdown-bg: var(--st-bg);

	/* Sidebars */
	--st-sidebar-w: 300px;
	--st-sidebar-gap: 48px;

	/* Footer */
	--st-footer-bg: var(--st-bg-2);
	--st-footer-ink: var(--st-ink-2);
	--st-footer-cols: repeat(auto-fit, minmax(220px, 1fr));
}

@media (prefers-color-scheme: dark) {
	:root.st-auto-dark {
		--st-ink: #e5e7eb;
		--st-ink-2: #9ca3af;
		--st-ink-3: #6b7280;
		--st-line-color: #374151;
		--st-bg: #0f1115;
		--st-bg-2: #161a20;
	}
}

/* ---------------------------------------------------------------------- */
/* Base                                                                    */
/* ---------------------------------------------------------------------- */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
	margin: 0;
	font-family: var(--st-font);
	font-size: var(--st-size);
	line-height: var(--st-line);
	color: var(--st-ink);
	background: var(--st-bg);
	-webkit-font-smoothing: antialiased;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

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

/* Every heading, not just the ones inside prose — a post title in a listing is
   a heading too, and the Customizer's heading font has to reach it. Builder
   content is unaffected: the plugin's seal gives its elements `font: inherit`
   from the Stratum surface, which the theme does not touch. */
h1, h2, h3, h4, h5, h6 { font-family: var(--st-font-heading); }

a { color: var(--st-accent); text-underline-offset: 2px; }
a:hover { text-decoration: none; }

:focus-visible {
	outline: 2px solid var(--st-accent);
	outline-offset: 2px;
	border-radius: 2px;
}

.st-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	padding: 10px 16px;
	background: var(--st-ink);
	color: #fff;
	border-radius: 0 0 var(--st-radius) 0;
}

.st-skip:focus { left: 0; }

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

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

.st-wrap {
	width: 100%;
	max-width: var(--st-content);
	margin: 0 auto;
	padding: 0 var(--st-gutter);
}

/* A builder page gets the room between header and footer and nothing else:
   no container, no padding, no max-width. Stratum sets its own column width,
   which is the width the builder drew. */
.st-main { flex: 1 0 auto; }
.st-main--builder { padding: 0; }
.st-main--builder > .st-wrap { max-width: none; padding: 0; }

.st-main--doc { padding: 48px 0 72px; }
.st-main--doc .st-wrap { max-width: var(--st-content); }

.st-reading { max-width: var(--st-reading); }

/* ---------------------------------------------------------------------- */
/* Header                                                                  */
/*                                                                          */
/* `.st-header` is the positioning context for both the small-screen menu   */
/* panel and the full-width dropdown panel, so neither `.st-header__inner`   */
/* nor a top-level `li` may be positioned — see the panel rules below.       */
/* ---------------------------------------------------------------------- */

.st-header {
	flex: none;
	background: var(--st-header-bg);
	position: relative;
	z-index: 20;
	border-bottom: 0 solid var(--st-line-color);
}

/* A Stratum header part in place of the theme's own header.

   No max-width here on purpose, exactly as with .st-footer__part. Since plugin
   1.12.0 the canvas is fluid on a part — it takes the width of whatever box it
   lands in — so this element's content box IS the header's width, and the
   padding below is the only thing between the part and the window edge. Add a
   max-width here and the band goes back to a centred column inside a full-bleed
   stripe, which is the bug 1.12.0 fixed; a second constraint would also be two
   numbers able to disagree, and the narrower would silently win.

   .st-header keeps its background, border, shadow and stickiness. The band is
   still the theme's; only its contents are the part's. That is the same split
   stratum_theme_fields() encodes when it marks which controls step aside.

   No overflow rule here, deliberately. A menu element's flyout and its
   collapsed panel both hang out of the header's box, and .st-header's z-index
   is what keeps them above the page beneath instead of behind it. */
.st-header__part {
	padding: 0 var(--st-gutter);
}

.st-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: var(--st-header-h);
}

.st-header__brand { display: flex; align-items: center; min-width: 0; }

.st-header__end {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.st-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: var(--st-header-ink);
	font-weight: 700;
	font-size: 18px;
	letter-spacing: -0.01em;
}

.st-brand img { max-height: 44px; width: auto; }
.st-brand__tag { display: block; font-size: 12px; font-weight: 400; color: var(--st-ink-3); }
/* The tagline element is always rendered so the Customizer can type into it;
   empty, it should take no room. */
.st-brand__tag:empty { display: none; }

/* ---------------------------------------------------------------------- */
/* Header layouts                                                          */
/*                                                                          */
/* All four are the same markup — only the flex direction and alignment     */
/* change — which is why switching layout previews instantly instead of      */
/* reloading.                                                                */
/*                                                                          */
/* The body class is wrapped in :where() so these rules weigh the same as a  */
/* bare class. The small-screen block the Customizer prints has to override  */
/* them, and it is written without body classes on purpose.                  */
/* ---------------------------------------------------------------------- */

:where(body.st-header--right) .st-header__inner { flex-direction: row-reverse; }

:where(body.st-header--centre) .st-header__inner,
:where(body.st-header--stack) .st-header__inner {
	flex-direction: column;
	justify-content: center;
	gap: 10px;
	padding-top: 14px;
	padding-bottom: 14px;
}

:where(body.st-header--centre) .st-header__brand,
:where(body.st-header--centre) .st-header__end {
	justify-content: center;
	width: 100%;
}

:where(body.st-header--centre) .st-nav > ul { justify-content: center; }

:where(body.st-header--stack) .st-header__brand,
:where(body.st-header--stack) .st-header__end {
	justify-content: flex-start;
	width: 100%;
}

/* The toggle is on the right at every layout, and only ever visible on a
   small screen, where the layout above has already been flattened to a row. */
:where(body.st-header--centre) .st-header__end,
:where(body.st-header--stack) .st-header__end { flex-wrap: wrap; }

body.st-header-border .st-header { border-bottom-width: 1px; }

body.st-header-shadow .st-header {
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 10px 28px rgba(15, 23, 42, 0.07);
}

body.st-header-sticky .st-header { position: sticky; top: 0; }

body.st-header-full .st-header__inner { max-width: none; }

/* ---------------------------------------------------------------------- */
/* Menu                                                                    */
/* ---------------------------------------------------------------------- */

.st-nav {
	display: flex;
	align-items: center;
	gap: 16px;
	min-width: 0;
}

.st-nav ul {
	display: flex;
	align-items: center;
	gap: var(--st-nav-gap);
	list-style: none;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
}

.st-nav li { position: relative; }

.st-nav a {
	position: relative;
	display: block;
	padding: 9px 12px;
	border: 1px solid transparent;
	border-radius: var(--st-radius);
	color: var(--st-nav-ink);
	text-decoration: none;
	font-size: var(--st-nav-size);
	font-weight: var(--st-nav-weight);
	white-space: nowrap;
	text-underline-offset: 6px;
	text-decoration-thickness: 2px;
	text-decoration-color: var(--st-nav-accent);
	transition: color 0.15s, background-color 0.15s, border-color 0.15s;
}

body.st-nav-caps .st-nav a { text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------------------------------------------------------------------- */
/* Hover effects                                                           */
/*                                                                          */
/* Six named effects, one set of rules. Each effect only sets custom         */
/* properties; the single "active" rule below consumes them. That keeps the  */
/* effects from multiplying selectors, and means the live preview can switch */
/* between them by swapping one body class.                                  */
/*                                                                          */
/* "Active" means hovered, keyboard-focused, or the page you are on — those  */
/* should look alike, and defining them once is the only way they stay so.   */
/* ---------------------------------------------------------------------- */

.st-nav a::after {
	content: '';
	position: absolute;
	left: 10px;
	right: 10px;
	top: var(--fx-bar-top, auto);
	bottom: var(--fx-bar-bottom, 0);
	height: var(--fx-bar-h, 0);
	border-radius: 2px;
	background: var(--st-nav-accent);
	transform: scaleX(0);
	transition: transform 0.18s var(--st-ease);
	pointer-events: none;
}

.st-nav a:hover,
.st-nav a:focus-visible,
.st-nav .current-menu-item > a,
.st-nav .current_page_item > a,
.st-nav .current-menu-ancestor > a,
.st-nav .current_page_ancestor > a {
	color: var(--st-nav-ink-hover);
	background: var(--fx-bg-on, transparent);
	border-color: var(--fx-border-on, transparent);
	/* Longhand deliberately. The `text-decoration` shorthand resets colour and
	   thickness to their initial values, which silently threw away the accent
	   colour set on `.st-nav a` and drew the underline in the text colour. */
	text-decoration-line: var(--fx-deco-on, none);
}

.st-nav a:hover::after,
.st-nav a:focus-visible::after,
.st-nav .current-menu-item > a::after,
.st-nav .current_page_item > a::after,
.st-nav .current-menu-ancestor > a::after,
.st-nav .current_page_ancestor > a::after { transform: scaleX(1); }

:where(body.st-nav-hover--pill) .st-nav a { --fx-bg-on: var(--st-nav-hover-bg); }

:where(body.st-nav-hover--box) .st-nav a {
	--fx-bg-on: var(--st-nav-hover-bg);
	--fx-border-on: var(--st-nav-accent);
}

:where(body.st-nav-hover--underline) .st-nav a { --fx-deco-on: underline; }

:where(body.st-nav-hover--bar-bottom) .st-nav a { --fx-bar-h: 2px; }

:where(body.st-nav-hover--bar-top) .st-nav a {
	--fx-bar-h: 2px;
	--fx-bar-top: 0;
	--fx-bar-bottom: auto;
}

/* `colour` sets nothing: the shared rule already changes the colour. */

/* Whatever the top level does, a dropdown row highlights with a fill — a bar
   or an outline inside a floating panel reads as a mistake. This sits outside
   :where() deliberately, so it beats every effect above. */
.st-nav ul ul a {
	--fx-bar-h: 0;
	--fx-bg-on: var(--st-nav-hover-bg);
	--fx-border-on: transparent;
	--fx-deco-on: none;
	white-space: normal;
}

/* ---------------------------------------------------------------------- */
/* Dropdowns                                                               */
/* ---------------------------------------------------------------------- */

.st-nav ul ul {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	padding: 6px;
	background: var(--st-dropdown-bg);
	border: 1px solid var(--st-line-color);
	border-radius: var(--st-radius);
	box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(4px);
	transition: opacity 0.14s, transform 0.14s, visibility 0.14s;
}

.st-nav li:hover > ul,
.st-nav li:focus-within > ul {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.st-nav ul ul ul { top: 0; left: 100%; }

/* Full-width panel.
   The panel is measured against `.st-header`, so the top-level item must not
   be a positioning context. The asymmetric padding aligns the first column
   with the content column at any window width without needing a wrapper
   element that wp_nav_menu() does not give us. */
:where(body.st-nav--mega) .st-nav > ul > li { position: static; }

:where(body.st-nav--mega) .st-nav > ul > li > ul {
	left: 0;
	right: 0;
	width: auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 4px 28px;
	align-items: start;
	padding: 20px max(var(--st-gutter), calc(50% - var(--st-content) / 2 + var(--st-gutter)));
	border-width: 1px 0 0;
	border-radius: 0;
}

/* Inside a panel a third level is a list under its heading, not a flyout. */
:where(body.st-nav--mega) .st-nav > ul > li > ul ul {
	position: static;
	display: block;
	opacity: 1;
	visibility: hidden;
	transform: none;
	min-width: 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
}

:where(body.st-nav--mega) .st-nav > ul > li:hover > ul ul,
:where(body.st-nav--mega) .st-nav > ul > li:focus-within > ul ul { visibility: visible; }

.st-header__search { display: flex; }
.st-header__search .st-search input[type='search'] { height: 38px; min-width: 140px; }

/* The default button is dark, which disappears into a dark header. Tying it to
   the menu accent keeps it visible whatever the header is set to. */
.st-header__search .st-btn {
	height: 38px;
	padding: 0 14px;
	background: var(--st-nav-accent);
	color: var(--st-accent-ink);
}

.st-navtoggle {
	display: none;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid var(--st-line-color);
	border-radius: var(--st-radius);
	background: none;
	/* The bars are drawn in currentColor, so this has to follow the header's
	   own ink: on a dark header the body ink would draw them invisibly. */
	color: var(--st-header-ink);
	cursor: pointer;
	align-items: center;
	justify-content: center;
}

.st-navtoggle span,
.st-navtoggle span::before,
.st-navtoggle span::after {
	display: block;
	width: 18px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: transform 0.18s, opacity 0.18s;
}

.st-navtoggle span { position: relative; }
.st-navtoggle span::before,
.st-navtoggle span::after { content: ''; position: absolute; left: 0; }
.st-navtoggle span::before { top: -6px; }
.st-navtoggle span::after { top: 6px; }

.st-navtoggle[aria-expanded='true'] span { background: transparent; }
.st-navtoggle[aria-expanded='true'] span::before { transform: translateY(6px) rotate(45deg); }
.st-navtoggle[aria-expanded='true'] span::after { transform: translateY(-6px) rotate(-45deg); }

/* The small-screen menu is NOT here. Its breakpoint is a Customizer setting
   and a media query cannot read a custom property, so the whole block is
   printed inline by stratum_theme_small_screen_css(). Adding a second,
   hard-coded breakpoint here would collapse the menu at two different widths.
   See inc/customizer.php. */

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

.st-footer {
	flex: none;
	margin-top: 64px;
	border-top: 1px solid var(--st-line-color);
	background: var(--st-footer-bg);
	color: var(--st-footer-ink);
	font-size: 15px;
}

.st-footer__widgets {
	display: grid;
	grid-template-columns: var(--st-footer-cols);
	gap: 32px;
	padding: 48px 0;
}

/* A Stratum footer part in place of the widget band.
   No max-width here on purpose. Since plugin 1.12.0 the canvas is fluid on a
   part, so this element's content box IS the footer band's width and the
   padding below is the only thing between it and the window edge. Add a
   max-width and the band goes back to a centred column inside a full-bleed
   stripe; it would also be a second constraint able to disagree with the
   canvas, and the narrower one would silently win. */
.st-footer__part {
	padding: 48px var(--st-gutter);
}

.st-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 20px 0;
	border-top: 1px solid var(--st-line-color);
	font-size: 14px;
	color: var(--st-ink-3);
}

.st-footer a { color: inherit; }
.st-footer__text { margin: 0; }
.st-footer__text p { margin: 0; }

/* Builder pages set their own bottom spacing. */
body.stratum-page .st-footer { margin-top: 0; }

/* ---------------------------------------------------------------------- */
/* Widgets                                                                 */
/* ---------------------------------------------------------------------- */

.widget { margin: 0 0 32px; }
.widget:last-child { margin-bottom: 0; }

.widget-title,
.widget h2 {
	margin: 0 0 12px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--st-ink-3);
}

.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { margin: 0 0 8px; }
.widget a { text-decoration: none; }
.widget a:hover { text-decoration: underline; }

.st-sidebar { font-size: 15px; }

/* ---------------------------------------------------------------------- */
/* Document content (posts, archives, comments)                            */
/* ---------------------------------------------------------------------- */

.st-prose {
	color: var(--st-ink);
	font-size: 17px;
	line-height: 1.7;
}

.st-prose > * + * { margin-top: 1.1em; }
.st-prose h1, .st-prose h2, .st-prose h3, .st-prose h4 {
	font-family: var(--st-font-heading);
	line-height: 1.2;
	letter-spacing: -0.015em;
	margin-top: 1.8em;
	margin-bottom: 0.5em;
}

.st-prose h1 { font-size: 2.2em; }
.st-prose h2 { font-size: 1.6em; }
.st-prose h3 { font-size: 1.3em; }
.st-prose h4 { font-size: 1.1em; }
.st-prose ul, .st-prose ol { padding-left: 1.4em; }
.st-prose li + li { margin-top: 0.3em; }
.st-prose img, .st-prose figure { border-radius: var(--st-radius); }
.st-prose figcaption { font-size: 14px; color: var(--st-ink-3); margin-top: 8px; }

.st-prose blockquote {
	margin: 1.6em 0;
	padding: 4px 0 4px 20px;
	border-left: 3px solid var(--st-accent);
	color: var(--st-ink-2);
	font-style: italic;
}

.st-prose pre {
	overflow-x: auto;
	padding: 16px;
	border-radius: var(--st-radius);
	background: var(--st-bg-2);
	border: 1px solid var(--st-line-color);
	font-size: 14px;
}

.st-prose code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.9em;
}

.st-prose table { width: 100%; border-collapse: collapse; }
.st-prose th, .st-prose td { padding: 10px 12px; border-bottom: 1px solid var(--st-line-color); text-align: left; }

.st-pagehead { margin-bottom: 32px; }
.st-pagehead h1 { margin: 0 0 8px; font-size: clamp(28px, 4vw, 42px); line-height: 1.15; letter-spacing: -0.02em; }
.st-meta { font-size: 14px; color: var(--st-ink-3); display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------------------------------------------------------------- */
/* Document layout with an optional sidebar                                */
/*                                                                          */
/* The sidebar stays after the content in the markup whichever side it is    */
/* shown on, so a screen reader and a keyboard still meet the article first. */
/* `order` moves it visually; it is the one job order is right for.          */
/*                                                                          */
/* 1024px matches the width at which the builder's own sidebar drops under   */
/* the canvas, so a blog page and a Stratum page reflow together.            */
/* ---------------------------------------------------------------------- */

.st-layout {
	display: grid;
	gap: var(--st-sidebar-gap);
	grid-template-columns: minmax(0, 1fr);
}

.st-layout--right { grid-template-columns: minmax(0, 1fr) var(--st-sidebar-w); }
.st-layout--left { grid-template-columns: var(--st-sidebar-w) minmax(0, 1fr); }
.st-layout--left > .st-sidebar { order: -1; }

/* A Stratum sidebar part fills the column it is given.

   The grid already stretches this cell, so the *column* was never the problem
   here — the part inside it was, because a canvas is only as tall as the height
   it was drawn at. On a long archive page that left the sidebar's background
   stopping a few hundred pixels down. Same symptom as on a builder page, but a
   different cause, so it needs its own rule rather than sharing one.

   Mirrors `.stratum-aside > .stratum-root` in the plugin's frontend.css. If one
   of the two changes, change both — a sidebar that behaves differently on a
   page and on the blog is worse than one that is wrong in both places. */
.st-sidebar--part {
	display: flex;
	flex-direction: column;
}

.st-sidebar--part > .stratum-root {
	flex: 1 1 auto;
	min-height: 0;
}

.st-sidebar--part > .stratum-root > .stratum-canvas {
	align-self: stretch;
}

@media (max-width: 1024px) {
	.st-layout--sidebar { grid-template-columns: minmax(0, 1fr); }
	.st-layout--left > .st-sidebar { order: 0; }
}

/* Post list */
.st-list { display: grid; gap: 40px; }

.st-card { display: grid; gap: 12px; }
.st-card__thumb img { border-radius: var(--st-radius); width: 100%; }
.st-card h2 { margin: 0; font-size: 24px; line-height: 1.25; letter-spacing: -0.01em; }
.st-card h2 a { color: inherit; text-decoration: none; }
.st-card h2 a:hover { color: var(--st-accent); }
.st-card p { margin: 0; color: var(--st-ink-2); }

.st-more { font-weight: 600; text-decoration: none; }
.st-more:hover { text-decoration: underline; }

.st-pagination { margin-top: 48px; display: flex; gap: 6px; flex-wrap: wrap; }

.st-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--st-line-color);
	border-radius: var(--st-radius);
	text-decoration: none;
	color: var(--st-ink-2);
}

.st-pagination .page-numbers:hover { background: var(--st-bg-2); color: var(--st-ink); }
.st-pagination .current { background: var(--st-ink); border-color: var(--st-ink); color: #fff; }

/* Search form */
.st-search { display: flex; gap: 8px; }

.st-search input[type='search'] {
	flex: 1;
	min-width: 0;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--st-line-color);
	border-radius: var(--st-radius);
	background: var(--st-bg);
	color: var(--st-ink);
	font: inherit;
	font-size: 15px;
}

.st-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 42px;
	padding: 0 18px;
	border: 0;
	border-radius: var(--st-radius);
	background: var(--st-ink);
	color: #fff;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}

.st-btn:hover { background: var(--st-accent); color: var(--st-accent-ink); }

/* Comments */
.st-comments { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--st-line-color); }
.st-comments h2 { margin: 0 0 24px; font-size: 20px; }
.st-comments ol { list-style: none; margin: 0; padding: 0; }
.st-comments .children { list-style: none; padding-left: 28px; }
.st-comments .comment-body { padding: 16px 0; border-bottom: 1px solid var(--st-line-color); }
.st-comments .comment-author img { border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.st-comments .comment-meta { font-size: 13px; color: var(--st-ink-3); }

.st-empty { color: var(--st-ink-2); }
