/*
Theme Name: Solotimize
Theme URI: https://solotimize.com
Author: Solotimize
Author URI: https://solotimize.com
Description: A fast, dependency-free editorial theme built for solo-operated affiliate media. Ships with review components (pros/cons, key takeaways, verdict boxes), automatic table of contents, FAQ schema, and full structured data — no SEO plugin required.
Version: 1.0.6
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: solotimize
Tags: blog, one-column, two-columns, custom-menu, featured-images, translation-ready, block-styles, wide-blocks
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */

:root {
	--st-ink: #14171c;
	--st-body: #383e47;
	--st-muted: #6b7280;
	--st-faint: #9aa1ab;
	--st-bg: #ffffff;
	--st-surface: #f6f7f9;
	--st-surface-2: #eef0f4;
	--st-border: #e3e6eb;
	--st-accent: #2457e6;
	--st-accent-ink: #1b43b4;
	--st-accent-soft: #eaf0ff;
	--st-pro: #0e8a5f;
	--st-pro-soft: #e7f6ef;
	--st-con: #cf3b2f;
	--st-con-soft: #fdeceb;
	--st-warn: #b4690e;
	--st-warn-soft: #fdf3e3;

	--st-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", "Hiragino Sans", "Noto Sans JP", Arial, sans-serif;
	--st-font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

	--st-measure: 44rem;
	--st-wide: 68rem;
	--st-radius: 10px;
	--st-radius-lg: 14px;
	--st-shadow: 0 1px 2px rgba(20, 23, 28, .05), 0 8px 24px -12px rgba(20, 23, 28, .12);
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--st-ink: #f2f4f7;
		--st-body: #c8cdd6;
		--st-muted: #949ca8;
		--st-faint: #767e8a;
		--st-bg: #0f1216;
		--st-surface: #171b21;
		--st-surface-2: #1e242c;
		--st-border: #2a313a;
		--st-accent: #7ba1ff;
		--st-accent-ink: #a5c0ff;
		--st-accent-soft: #17213a;
		--st-pro: #4cc38a;
		--st-pro-soft: #14261f;
		--st-con: #f07068;
		--st-con-soft: #2a1917;
		--st-warn: #e0a14a;
		--st-warn-soft: #26201a;
		--st-shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -12px rgba(0, 0, 0, .6);
	}
}

/* ==========================================================================
   2. Reset & 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; } }

body {
	margin: 0;
	background: var(--st-bg);
	color: var(--st-body);
	font-family: var(--st-font);
	font-size: 18px;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

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

h1, h2, h3, h4, h5, h6 {
	color: var(--st-ink);
	font-weight: 700;
	letter-spacing: -.018em;
	line-height: 1.22;
	margin: 0 0 .5em;
}

h1 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3rem); letter-spacing: -.028em; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 1.95rem); margin-top: 2.2em; }
h3 { font-size: clamp(1.2rem, 1.08rem + .5vw, 1.4rem); margin-top: 1.8em; }
h4 { font-size: 1.1rem; margin-top: 1.6em; }

p { margin: 0 0 1.4em; }
hr { border: 0; border-top: 1px solid var(--st-border); margin: 3rem 0; }

blockquote {
	margin: 2rem 0;
	padding: .25rem 0 .25rem 1.5rem;
	border-left: 3px solid var(--st-accent);
	color: var(--st-ink);
	font-size: 1.06em;
}
blockquote p:last-child { margin-bottom: 0; }

code, kbd, samp {
	font-family: var(--st-font-mono);
	font-size: .88em;
	background: var(--st-surface-2);
	padding: .15em .38em;
	border-radius: 4px;
}
pre {
	background: var(--st-surface);
	border: 1px solid var(--st-border);
	border-radius: var(--st-radius);
	padding: 1.1rem 1.25rem;
	overflow-x: auto;
}
pre code { background: none; padding: 0; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	white-space: nowrap;
}
.skip-link:focus {
	position: fixed; top: .5rem; left: .5rem;
	z-index: 999;
	width: auto; height: auto; clip: auto; clip-path: none;
	background: var(--st-ink); color: var(--st-bg);
	padding: .7rem 1.1rem; border-radius: 8px;
}
:focus-visible { outline: 2px solid var(--st-accent); outline-offset: 2px; }

/* ==========================================================================
   3. Layout
   ========================================================================== */

.st-shell { display: flex; flex-direction: column; min-height: 100vh; }
.st-main { flex: 1 0 auto; }

.st-wrap { width: min(100% - 2.5rem, var(--st-wide)); margin-inline: auto; }
.st-narrow { width: min(100% - 2.5rem, var(--st-measure)); margin-inline: auto; }

@media (max-width: 600px) {
	.st-wrap, .st-narrow { width: min(100% - 1.75rem, var(--st-wide)); }
	body { font-size: 17px; }
}

/* --- Header --- */
.st-header {
	position: sticky; top: 0; z-index: 60;
	background: color-mix(in srgb, var(--st-bg) 88%, transparent);
	backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--st-border);
}
.st-header__inner {
	display: flex; align-items: center; gap: 1.5rem;
	min-height: 66px;
}
.st-brand {
	font-size: 1.16rem; font-weight: 800; letter-spacing: -.03em;
	color: var(--st-ink); text-decoration: none; white-space: nowrap;
}
.st-brand:hover { color: var(--st-ink); }
.st-brand__dot { color: var(--st-accent); }
.st-brand img { max-height: 34px; width: auto; }

.st-nav { margin-left: auto; }
.st-nav ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.st-nav a {
	color: var(--st-body); text-decoration: none;
	font-size: .94rem; font-weight: 500;
}
.st-nav a:hover, .st-nav .current-menu-item > a { color: var(--st-accent); }

.st-nav-toggle {
	display: none; margin-left: auto;
	background: none; border: 1px solid var(--st-border);
	border-radius: 8px; padding: .45rem .7rem;
	color: var(--st-ink); font: inherit; font-size: .85rem; cursor: pointer;
}
@media (max-width: 860px) {
	.st-nav-toggle { display: block; }
	.st-nav {
		display: none; position: absolute; inset: 66px 0 auto;
		background: var(--st-bg); border-bottom: 1px solid var(--st-border);
		padding: .75rem 0 1.25rem;
	}
	.st-nav.is-open { display: block; }
	.st-nav ul { flex-direction: column; gap: 0; width: min(100% - 2.5rem, var(--st-wide)); margin-inline: auto; }
	.st-nav li { border-bottom: 1px solid var(--st-border); }
	.st-nav a { display: block; padding: .85rem 0; font-size: 1rem; }
}

/* --- Footer --- */
.st-footer {
	margin-top: 5rem;
	border-top: 1px solid var(--st-border);
	background: var(--st-surface);
	padding: 3rem 0 2.5rem;
	font-size: .92rem;
}
.st-footer__grid {
	display: grid; gap: 2rem;
	grid-template-columns: 1.4fr 1fr;
	align-items: start;
}
@media (max-width: 700px) { .st-footer__grid { grid-template-columns: 1fr; } }
.st-footer__blurb { color: var(--st-muted); max-width: 34rem; }
.st-footer nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.st-footer nav a { color: var(--st-body); text-decoration: none; }
.st-footer nav a:hover { color: var(--st-accent); text-decoration: underline; }
.st-footer__legal {
	margin-top: 2.5rem; padding-top: 1.5rem;
	border-top: 1px solid var(--st-border);
	color: var(--st-faint); font-size: .85rem;
}

/* ==========================================================================
   4. Article
   ========================================================================== */

.st-article { padding: 3rem 0 0; }

.st-breadcrumbs {
	font-size: .84rem; color: var(--st-muted);
	margin-bottom: 1.5rem;
}
.st-breadcrumbs a { color: var(--st-muted); text-decoration: none; }
.st-breadcrumbs a:hover { color: var(--st-accent); text-decoration: underline; }
.st-breadcrumbs span[aria-hidden] { margin: 0 .45rem; color: var(--st-faint); }

.st-eyebrow {
	display: inline-block;
	font-size: .74rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
	color: var(--st-accent); text-decoration: none;
	margin-bottom: .9rem;
}
.st-title { margin-bottom: .6rem; }
.st-dek { font-size: 1.16rem; color: var(--st-muted); margin-bottom: 1.6rem; }

.st-byline {
	display: flex; flex-wrap: wrap; align-items: center; gap: .55rem;
	font-size: .88rem; color: var(--st-muted);
	padding-bottom: 1.75rem;
	border-bottom: 1px solid var(--st-border);
}
.st-byline__sep { color: var(--st-faint); }
.st-byline strong { color: var(--st-ink); font-weight: 600; }
.st-byline a { color: var(--st-ink); text-decoration: none; }
.st-byline a:hover { color: var(--st-accent); }

.st-featured { margin: 2rem 0 0; border-radius: var(--st-radius-lg); overflow: hidden; }

.st-content { padding-top: 2rem; }
.st-content > *:first-child { margin-top: 0; }
.st-content ul, .st-content ol { margin: 0 0 1.5em; padding-left: 1.35em; }
.st-content li { margin-bottom: .55em; }
.st-content li > ul, .st-content li > ol { margin-top: .55em; }
.st-content strong { color: var(--st-ink); font-weight: 650; }
.st-content h2 { scroll-margin-top: 5.5rem; }
.st-content h3 { scroll-margin-top: 5.5rem; }
.st-content figure { margin: 2.25rem 0; }
.st-content figcaption { font-size: .85rem; color: var(--st-muted); text-align: center; margin-top: .65rem; }

/* Tables — comparison tables are the workhorse of affiliate content */
.st-content table, .wp-block-table table {
	width: 100%; border-collapse: collapse;
	font-size: .93rem; margin: 0;
}
.st-content .wp-block-table, .st-content > table {
	margin: 2rem 0;
	overflow-x: auto;
	border: 1px solid var(--st-border);
	border-radius: var(--st-radius);
	-webkit-overflow-scrolling: touch;
}
.st-content th, .st-content td {
	padding: .8rem .9rem;
	text-align: left; vertical-align: top;
	border-bottom: 1px solid var(--st-border);
}
.st-content thead th {
	background: var(--st-surface);
	color: var(--st-ink);
	font-size: .8rem; font-weight: 700;
	letter-spacing: .04em; text-transform: uppercase;
	white-space: nowrap;
}
.st-content tbody tr:last-child td { border-bottom: 0; }
.st-content tbody tr:hover { background: var(--st-surface); }
.wp-block-table figcaption { font-size: .85rem; color: var(--st-muted); }

/* ==========================================================================
   5. Editorial components (shortcodes)
   ========================================================================== */

/* Key takeaways / TL;DR */
.st-takeaways {
	background: var(--st-accent-soft);
	border: 1px solid color-mix(in srgb, var(--st-accent) 22%, transparent);
	border-radius: var(--st-radius-lg);
	padding: 1.5rem 1.6rem;
	margin: 2.25rem 0;
}
.st-takeaways__label {
	display: flex; align-items: center; gap: .5rem;
	font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
	color: var(--st-accent-ink); margin-bottom: .9rem;
}
.st-takeaways ul { list-style: none; margin: 0; padding: 0; }
.st-takeaways li {
	position: relative; padding-left: 1.7rem; margin-bottom: .75rem;
	font-size: .97rem; color: var(--st-body);
}
.st-takeaways li:last-child { margin-bottom: 0; }
.st-takeaways li::before {
	content: ""; position: absolute; left: .1rem; top: .58em;
	width: .55rem; height: .55rem; border-radius: 2px;
	background: var(--st-accent);
}

/* Trust / methodology callout */
.st-trust {
	border: 1px solid var(--st-border);
	border-left: 3px solid var(--st-accent);
	background: var(--st-surface);
	border-radius: var(--st-radius);
	padding: 1.35rem 1.5rem;
	margin: 2.25rem 0;
	font-size: .96rem;
}
.st-trust__label {
	font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
	color: var(--st-ink); display: block; margin-bottom: .6rem;
}
.st-trust p:last-child { margin-bottom: 0; }

/* Disclosure */
.st-disclosure {
	font-size: .84rem; color: var(--st-muted);
	background: var(--st-surface);
	border: 1px dashed var(--st-border);
	border-radius: var(--st-radius);
	padding: .85rem 1.1rem;
	margin: 0 0 2rem;
}
.st-disclosure p { margin: 0; }

/* Pros & cons */
.st-proscons {
	display: grid; gap: 1rem;
	grid-template-columns: 1fr 1fr;
	margin: 1.75rem 0;
}
@media (max-width: 700px) { .st-proscons { grid-template-columns: 1fr; } }
.st-proscons__col {
	border: 1px solid var(--st-border);
	border-radius: var(--st-radius);
	padding: 1.15rem 1.3rem;
	background: var(--st-bg);
}
.st-proscons__col--pro { background: var(--st-pro-soft); border-color: color-mix(in srgb, var(--st-pro) 25%, transparent); }
.st-proscons__col--con { background: var(--st-con-soft); border-color: color-mix(in srgb, var(--st-con) 25%, transparent); }
.st-proscons__head {
	display: flex; align-items: center; gap: .45rem;
	font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
	margin-bottom: .85rem;
}
.st-proscons__col--pro .st-proscons__head { color: var(--st-pro); }
.st-proscons__col--con .st-proscons__head { color: var(--st-con); }
.st-proscons ul { list-style: none; margin: 0; padding: 0; }
.st-proscons li {
	position: relative; padding-left: 1.5rem; margin-bottom: .6rem;
	font-size: .94rem; line-height: 1.6;
}
.st-proscons li:last-child { margin-bottom: 0; }
.st-proscons li::before {
	position: absolute; left: 0; top: 0;
	font-weight: 700;
}
.st-proscons__col--pro li::before { content: "+"; color: var(--st-pro); }
.st-proscons__col--con li::before { content: "–"; color: var(--st-con); }

/* "Who is this for?" */
.st-audience {
	display: grid; gap: 0;
	border: 1px solid var(--st-border);
	border-radius: var(--st-radius);
	overflow: hidden;
	margin: 1.75rem 0;
	font-size: .95rem;
}
.st-audience__row { display: grid; grid-template-columns: 10rem 1fr; }
@media (max-width: 600px) { .st-audience__row { grid-template-columns: 1fr; } }
.st-audience__row + .st-audience__row { border-top: 1px solid var(--st-border); }
.st-audience__key {
	background: var(--st-surface);
	padding: .9rem 1.1rem;
	font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
	color: var(--st-ink);
	display: flex; align-items: center;
}
.st-audience__row--skip .st-audience__key { color: var(--st-con); }
.st-audience__val { padding: .9rem 1.1rem; }

/* Use case */
.st-usecase {
	border: 1px solid var(--st-border);
	border-radius: var(--st-radius);
	padding: 1.3rem 1.5rem;
	margin: 1.75rem 0;
	background: var(--st-surface);
}
.st-usecase__label {
	font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
	color: var(--st-warn); display: block; margin-bottom: .55rem;
}
.st-usecase__title { font-size: 1.02rem; color: var(--st-ink); font-weight: 700; margin-bottom: .6rem; }
.st-usecase p:last-child { margin-bottom: 0; }

/* Verdict / rating */
.st-verdict {
	display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem;
	border: 1px solid var(--st-border);
	border-radius: var(--st-radius);
	background: var(--st-surface);
	padding: 1.1rem 1.35rem;
	margin: 1.75rem 0;
}
.st-verdict__score {
	font-size: 1.6rem; font-weight: 800; color: var(--st-ink);
	letter-spacing: -.03em; line-height: 1;
}
.st-verdict__score span { font-size: .9rem; color: var(--st-muted); font-weight: 600; }
.st-verdict__text { flex: 1 1 16rem; font-size: .95rem; margin: 0; }

/* FAQ */
.st-faq { margin: 1.5rem 0; border-top: 1px solid var(--st-border); }
.st-faq__item { border-bottom: 1px solid var(--st-border); }
.st-faq__q {
	width: 100%; display: flex; gap: 1rem; align-items: flex-start;
	background: none; border: 0; padding: 1.15rem 0;
	font: inherit; font-size: 1.04rem; font-weight: 650; color: var(--st-ink);
	text-align: left; cursor: pointer;
}
.st-faq__q::after {
	content: "+"; margin-left: auto; flex: none;
	font-size: 1.35rem; font-weight: 400; line-height: 1; color: var(--st-accent);
}
.st-faq__item.is-open .st-faq__q::after { content: "–"; }
.st-faq__a { display: none; padding: 0 0 1.35rem; font-size: .97rem; }
.st-faq__item.is-open .st-faq__a { display: block; }
.st-faq__a > *:last-child { margin-bottom: 0; }

/* Table of contents */
.st-toc {
	border: 1px solid var(--st-border);
	border-radius: var(--st-radius-lg);
	background: var(--st-surface);
	padding: 1.25rem 1.5rem;
	margin: 0 0 2.5rem;
}
.st-toc__label {
	font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
	color: var(--st-ink); margin-bottom: .8rem;
}
/* No counter here on purpose: listicle headings carry their own numbers
   ("1. Zapier — …") and a CSS counter renders them twice. */
.st-toc ol { list-style: none; margin: 0; padding: 0; }
.st-toc li { margin-bottom: .5rem; font-size: .94rem; padding-left: .9rem; position: relative; }
.st-toc li:last-child { margin-bottom: 0; }
.st-toc li::before {
	content: ""; position: absolute; left: 0; top: .62em;
	width: 4px; height: 4px; border-radius: 50%; background: var(--st-faint);
}
.st-toc a { color: var(--st-body); text-decoration: none; }
.st-toc a:hover { color: var(--st-accent); text-decoration: underline; }

/* Author box */
.st-authorbox {
	display: flex; gap: 1.25rem;
	border: 1px solid var(--st-border);
	border-radius: var(--st-radius-lg);
	padding: 1.5rem;
	margin: 3.5rem 0 0;
	background: var(--st-surface);
}
.st-authorbox img {
	/* flex: none only locks the main axis — without align-self the default
	   `stretch` pulls the avatar to the box's full height and distorts it. */
	flex: none;
	align-self: flex-start;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	object-fit: cover;
}
.st-authorbox__name { font-size: 1.02rem; font-weight: 700; color: var(--st-ink); margin-bottom: .35rem; }
.st-authorbox__bio { font-size: .92rem; color: var(--st-muted); margin: 0; }
@media (max-width: 600px) { .st-authorbox { flex-direction: column; gap: .9rem; } }

/* ==========================================================================
   6. Cards, archives, home
   ========================================================================== */

.st-hero {
	padding: 4.5rem 0 3.5rem;
	border-bottom: 1px solid var(--st-border);
}
.st-hero h1 { max-width: 20ch; margin-bottom: 1rem; }
.st-hero__dek { font-size: 1.2rem; color: var(--st-muted); max-width: 46ch; margin-bottom: 2rem; }
.st-hero__cta {
	display: inline-flex; align-items: center; gap: .5rem;
	background: var(--st-accent); color: #fff;
	padding: .85rem 1.5rem; border-radius: 8px;
	font-weight: 650; font-size: .98rem; text-decoration: none;
}
.st-hero__cta:hover { background: var(--st-accent-ink); color: #fff; }

.st-section { padding: 3.5rem 0 0; }
.st-section__head {
	display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
	margin-bottom: 1.75rem;
}
.st-section__head h2 { margin: 0; font-size: 1.45rem; }
.st-section__more { font-size: .92rem; font-weight: 600; text-decoration: none; white-space: nowrap; }

.st-grid {
	display: grid; gap: 2rem;
	grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr));
}

.st-card { display: flex; flex-direction: column; }
.st-card__thumb {
	display: block; margin-bottom: 1rem;
	border-radius: var(--st-radius); overflow: hidden;
	background: var(--st-surface-2); aspect-ratio: 16 / 9;
}
.st-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.st-card__meta {
	font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
	color: var(--st-accent); margin-bottom: .5rem;
}
.st-card__meta a { color: inherit; text-decoration: none; }
.st-card__title { font-size: 1.16rem; line-height: 1.35; margin-bottom: .5rem; }
.st-card__title a { color: var(--st-ink); text-decoration: none; }
.st-card__title a:hover { color: var(--st-accent); }
.st-card__excerpt { font-size: .94rem; color: var(--st-muted); margin: 0 0 .75rem; }
.st-card__foot { margin-top: auto; font-size: .82rem; color: var(--st-faint); }

.st-page-head { padding: 3.5rem 0 0; }
.st-page-head h1 { margin-bottom: .5rem; }
.st-page-head p { color: var(--st-muted); font-size: 1.1rem; margin: 0; }

/* Pagination */
.st-pagination { margin: 3.5rem 0 0; font-size: .95rem; }
.st-pagination .nav-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.st-pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 2.5rem; height: 2.5rem; padding: 0 .65rem;
	border: 1px solid var(--st-border); border-radius: 8px;
	color: var(--st-body); text-decoration: none;
}
.st-pagination .page-numbers:hover { border-color: var(--st-accent); color: var(--st-accent); }
.st-pagination .page-numbers.current { background: var(--st-accent); border-color: var(--st-accent); color: #fff; }

/* Post navigation */
.st-postnav {
	display: grid; gap: 1rem; grid-template-columns: 1fr 1fr;
	margin: 3rem 0 0; padding-top: 2rem; border-top: 1px solid var(--st-border);
}
@media (max-width: 600px) { .st-postnav { grid-template-columns: 1fr; } }
.st-postnav a {
	display: block; padding: 1.1rem 1.25rem;
	border: 1px solid var(--st-border); border-radius: var(--st-radius);
	text-decoration: none; color: var(--st-ink);
}
.st-postnav a:hover { border-color: var(--st-accent); }
.st-postnav__label { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--st-muted); display: block; margin-bottom: .35rem; }
.st-postnav__title { font-size: .98rem; font-weight: 650; line-height: 1.4; }
.st-postnav__next { text-align: right; }

/* Search form */
.st-searchform { display: flex; gap: .5rem; max-width: 28rem; }
.st-searchform input[type="search"] {
	flex: 1; font: inherit; font-size: .95rem;
	padding: .65rem .9rem;
	border: 1px solid var(--st-border); border-radius: 8px;
	background: var(--st-bg); color: var(--st-ink);
}
.st-searchform button {
	font: inherit; font-size: .95rem; font-weight: 600;
	padding: .65rem 1.1rem; border: 0; border-radius: 8px;
	background: var(--st-ink); color: var(--st-bg); cursor: pointer;
}

/* Newsletter block */
.st-optin {
	border: 1px solid var(--st-border);
	border-radius: var(--st-radius-lg);
	background: var(--st-surface);
	padding: 2rem;
	margin: 3.5rem 0 0;
	text-align: center;
}
.st-optin h2 { font-size: 1.35rem; margin-bottom: .5rem; }
.st-optin p { color: var(--st-muted); font-size: .97rem; max-width: 38ch; margin: 0 auto 1.25rem; }

/* 404 */
.st-404 { padding: 5rem 0; text-align: center; }
.st-404 h1 { font-size: clamp(3rem, 10vw, 5rem); color: var(--st-faint); }

/* Outbound link marker */
.st-content a[target="_blank"]::after {
	content: "↗";
	font-size: .78em; margin-left: .2em;
	color: var(--st-faint); text-decoration: none;
}

/* Print */
@media print {
	.st-header, .st-footer, .st-toc, .st-optin, .st-postnav, .st-authorbox { display: none; }
	body { font-size: 12pt; }
}

/* ---------------------------------------------------------------
   関連記事
   記事の終わりを行き止まりにしない。次に読むものが見えていると
   滞在が伸び、クローラも内部リンクを辿れる。
   --------------------------------------------------------------- */
.solo-related {
	margin: 3rem 0 0;
	padding: 1.5rem 1.5rem 1.25rem;
	border: 1px solid var(--solo-border, #e2e8f0);
	border-radius: 12px;
	background: var(--solo-surface, #f8fafc);
}

.solo-related__title {
	margin: 0 0 .75rem;
	font-size: 1.05rem;
	letter-spacing: .01em;
	text-transform: uppercase;
	color: var(--solo-muted, #64748b);
}

.solo-related__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.solo-related__item + .solo-related__item {
	margin-top: .6rem;
	padding-top: .6rem;
	border-top: 1px solid var(--solo-border, #e2e8f0);
}

.solo-related__item a {
	font-weight: 600;
	line-height: 1.45;
	text-decoration: none;
}

.solo-related__item a:hover {
	text-decoration: underline;
}
