/* ==========================================================================
   Terzo Occhio 2026
   Titoli: League Gothic (lo stesso del logo). Testo: Literata (nata per leggere a lungo).
   Colori dal logo: antracite e verde-acqua. L'evidenziatore giallo compare solo dove
   il lettore "sottolinea": selezione di testo, citazioni, note brevi.
   Tema chiaro/scuro con light-dark(): segue il sistema, o la scelta manuale (data-theme).
   ========================================================================== */

@font-face {
	font-family: "League Gothic";
	src: url("../fonts/league-gothic.woff") format("woff");
	font-weight: 400;
	font-display: swap;
}
@font-face {
	font-family: "Literata";
	src: url("../fonts/literata-normal-latin.woff2") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Literata";
	src: url("../fonts/literata-normal-latin-ext.woff2") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113;
}
@font-face {
	font-family: "Literata";
	src: url("../fonts/literata-italic-latin.woff2") format("woff2");
	font-weight: 400 700;
	font-style: italic;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Literata";
	src: url("../fonts/literata-italic-latin-ext.woff2") format("woff2");
	font-weight: 400 700;
	font-style: italic;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113;
}

/* ---------------------------------------------------------------- Token */
:root {
	color-scheme: light dark;

	--ink: #101a19;
	--graphite: #272c2f;
	--iris: #4e7870;
	--iris-light: #7fb8a9;
	--marker: #f2c230;

	--bg: light-dark(#f7f8f6, #0f1516);
	--surface: light-dark(#e8ecea, #182021);
	--text: light-dark(#101a19, #e6ecea);
	--muted: light-dark(#55625f, #9aa9a6);
	--line: light-dark(#d3dad8, #293435);
	--link: light-dark(#3a5f58, #7fb8a9);
	--focus: light-dark(#1a4fd6, #f2c230);
	--mark-bg: light-dark(rgb(242 194 48 / 0.22), rgb(242 194 48 / 0.14));

	--display: "League Gothic", "Arial Narrow", Impact, sans-serif;
	--serif: "Literata", Georgia, "Times New Roman", serif;
	--ui: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--wrap: 72rem;
	--gutter: clamp(1rem, 4vw, 2rem);
	--read: 44rem;
}
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }

/* ---------------------------------------------------------------- Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--serif);
	font-size: 1.0625rem;
	line-height: 1.6;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}
img, video, svg { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--marker); color: var(--ink); }
[hidden] { display: none !important; }
button, input, textarea { font: inherit; color: inherit; }

.skip {
	position: absolute; left: 1rem; top: -4rem; z-index: 100;
	background: var(--marker); color: var(--ink); padding: 0.6rem 1rem; font-family: var(--ui); font-weight: 600;
}
.skip:focus { top: 0.5rem; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 44rem; }
.site-main:focus { outline: none; }

/* ---------------------------------------------------------- Testata */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--graphite); color: #fff;
	border-bottom: 1px solid #000;
}
.bar { display: flex; align-items: center; gap: 1rem; min-height: 3.75rem; }
.brand { margin: 0; display: flex; align-items: center; gap: 1rem; font-size: 1rem; font-weight: 400; flex: 1 1 auto; min-width: 0; }
.brand a { display: inline-flex; align-items: center; gap: 0.6rem; color: #fff; text-decoration: none; }
.iris { color: var(--iris-light); flex: none; }
.wordmark { font-family: var(--display); font-size: 2.1rem; line-height: 1; letter-spacing: 0.02em; text-transform: uppercase; padding-top: 0.12em; }
.wordmark b { font-weight: 400; color: var(--iris-light); }
.tagline { display: none; font-family: var(--ui); font-size: 0.8125rem; line-height: 1.2; color: #a9b6b3; max-width: 12rem; }

.tools { display: flex; align-items: center; gap: 0.25rem; }
.tool {
	display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem;
	background: none; border: 0; color: #e6ecea; cursor: pointer; border-radius: 4px;
}
.tool:hover { background: rgb(255 255 255 / 0.1); }
.site-header :focus-visible { outline-color: var(--marker); }

.site-nav { display: none; font-family: var(--ui); }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; color: #fff; text-decoration: none; padding: 0.85rem var(--gutter); font-weight: 600; font-size: 0.9375rem; }
.site-nav a:hover, .site-nav a[aria-current="page"], .site-nav .current-menu-item > a { color: var(--iris-light); }
.nav-open .site-nav {
	display: block; position: absolute; left: 0; right: 0; top: 100%;
	background: var(--graphite); border-top: 1px solid #3a4246; padding-block: 0.5rem;
	box-shadow: 0 18px 30px rgb(0 0 0 / 0.35);
}
.site-nav .sub-menu { padding-left: 1rem; }

.search-panel { background: #1e2326; padding-block: 1rem; border-top: 1px solid #3a4246; }
.search-panel label { color: #a9b6b3; }

@media (min-width: 62rem) {
	.tagline { display: block; }
	.nav-toggle { display: none; }
	.site-nav { display: block; flex: none; }
	.site-nav ul { display: flex; gap: 0.15rem; }
	.site-nav a { padding: 0.5rem 0.75rem; border-radius: 4px; }
	.site-nav a:hover { background: rgb(255 255 255 / 0.08); }
	.brand { flex: 0 1 auto; margin-right: auto; }
}

/* ---------------------------------------------------------- Form ricerca */
.searchform label { display: block; font-family: var(--ui); font-size: 0.8125rem; margin-bottom: 0.35rem; color: var(--muted); }
.searchform .row { display: flex; gap: 0.5rem; }
.searchform input[type="search"] {
	flex: 1 1 auto; min-width: 0; padding: 0.7rem 0.9rem; font-family: var(--ui); font-size: 1rem;
	background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 2px;
}
.search-panel .searchform input[type="search"] { background: #fff; color: var(--ink); border-color: #fff; }
.searchform button, .btn, .comment-form .submit {
	font-family: var(--ui); font-weight: 600; font-size: 0.9375rem; cursor: pointer;
	padding: 0.7rem 1.1rem; border-radius: 2px; border: 2px solid var(--graphite);
	background: var(--graphite); color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 0.7rem;
}
.searchform button:hover, .btn:hover, .comment-form .submit:hover { background: var(--iris); border-color: var(--iris); color: #fff; }
:root[data-theme="dark"] .btn.ghost, .btn.ghost { background: transparent; color: var(--text); border-color: var(--text); }
.btn.ghost:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn .min { font-weight: 400; opacity: 0.8; }

/* ---------------------------------------------------------- Apertura (home) */
.lead { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--graphite) 0%, var(--ink) 100%); color: #fff; }
.lead .wrap { position: relative; padding-block: clamp(2.5rem, 7vw, 5.5rem) clamp(2.5rem, 6vw, 4.5rem); }
.lead-item { position: relative; z-index: 1; max-width: 50rem; }
.lead .meta { color: #b9c6c3; }
.lead .meta .cat, .lead .meta a { color: var(--iris-light); }
.lead-title {
	margin: 0.4rem 0 1.1rem; font-family: var(--display); font-weight: 400;
	font-size: clamp(2.7rem, 1.2rem + 6.4vw, 6rem); line-height: 0.98; letter-spacing: 0.005em; text-wrap: balance;
}
.lead-title a { color: #fff; text-decoration: none; }
.lead-title a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--iris-light); text-underline-offset: 0.1em; }
.lead-excerpt { font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.3rem); line-height: 1.55; color: #d4ddda; max-width: 38rem; margin: 0 0 1.6rem; }
.lead .btn { background: transparent; color: #fff; border-color: #fff; }
.lead .btn:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* L'iride: unico elemento decorativo, nato dal marchio. */
.iris-art {
	position: absolute; right: calc(var(--gutter) * -1); top: 50%;
	width: clamp(15rem, 44vw, 34rem); aspect-ratio: 1; border-radius: 50%; translate: 18% -50%;
	background:
		radial-gradient(circle, var(--ink) 0 11%, transparent 11.5%),
		radial-gradient(circle, transparent 0 13%, rgb(127 184 169 / 0.5) 13.5% 14.2%, transparent 14.7%),
		repeating-conic-gradient(from 0deg, rgb(127 184 169 / 0.42) 0 0.7deg, transparent 0.7deg 6deg),
		radial-gradient(circle, transparent 0 40%, rgb(78 120 112 / 0.5) 40.5% 41.5%, transparent 42%);
	-webkit-mask: radial-gradient(circle, transparent 0 11%, #000 12% 62%, transparent 70%);
	mask: radial-gradient(circle, transparent 0 11%, #000 12% 62%, transparent 70%);
	opacity: 0.55; pointer-events: none;
	animation: iris-open 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes iris-open { from { scale: 0.82; rotate: -24deg; opacity: 0; } to { scale: 1; rotate: 0deg; opacity: 0.55; } }

/* ---------------------------------------------------------- Home: griglia */
.home-grid { display: grid; gap: 3.5rem; padding-block: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 62rem) {
	.home-grid { grid-template-columns: minmax(0, 1fr) 21rem; gap: 4.5rem; }
	.rail { position: sticky; top: 5rem; align-self: start; }
}

.section-title {
	margin: 0 0 0.5rem; font-family: var(--display); font-weight: 400; font-size: 2.1rem; line-height: 1.05; letter-spacing: 0.01em;
	padding-bottom: 0.4rem; border-bottom: 2px solid var(--text);
}
.rail-intro { margin: 0.6rem 0 1.2rem; font-family: var(--ui); font-size: 0.875rem; color: var(--muted); }
.rail-more { font-family: var(--ui); font-size: 0.9375rem; font-weight: 600; }

/* ---------------------------------------------------------- Elenco articoli */
.meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 1rem; margin: 0 0 0.3rem; font-family: var(--ui); font-size: 0.8125rem; color: var(--muted); }
.meta .cat { font-weight: 700; color: var(--link); text-decoration: none; }
.meta .cat:hover { text-decoration: underline; }
.row { display: grid; gap: 0.35rem 1.5rem; padding-block: 1.3rem; border-top: 1px solid var(--line); }
.section-title + .row { border-top: 0; }
.row .when { font-family: var(--ui); font-size: 0.8125rem; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 0.3rem; }
.row-title { margin: 0; font-family: var(--serif); font-weight: 650; font-size: clamp(1.2rem, 1.05rem + 0.55vw, 1.5rem); line-height: 1.25; text-wrap: balance; }
.row-title a { color: var(--text); text-decoration: none; }
.row-title a:hover { color: var(--link); text-decoration: underline; }
.excerpt { margin: 0.45rem 0 0; color: var(--muted); font-size: 0.975rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; max-width: 42rem; }
@media (min-width: 40rem) {
	.row { grid-template-columns: 6.5rem minmax(0, 1fr); }
	.row .when { grid-row: 1; }
}
@media (max-width: 39.99rem) {
	.row .when { order: 2; }
	.row .what { order: 1; }
	.row { grid-template-columns: 1fr; gap: 0.25rem; }
	.row .when { padding: 0; }
}

/* Note brevi ("Dispositions"): la barra gialla e' la sottolineatura del lettore. */
.note { margin-block: 1.6rem; padding-left: 1rem; border-left: 5px solid var(--marker); }
.note-title { margin: 0; font-family: var(--serif); font-weight: 650; font-size: 1.1rem; line-height: 1.3; }
.note-title a { color: var(--text); text-decoration: none; }
.note-title a:hover { text-decoration: underline; }
.note time { display: block; margin: 0.15rem 0 0.45rem; font-family: var(--ui); font-size: 0.8125rem; color: var(--muted); }
.note p { margin: 0 0 0.5rem; font-size: 0.975rem; line-height: 1.55; }
.notes .note { max-width: var(--read); }
.notes .note .prose { font-size: 1.05rem; }

/* ---------------------------------------------------------- Per argomento */
.topics { background: var(--surface); padding-block: clamp(2.5rem, 6vw, 4rem); margin-top: 1rem; }
.topic-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1.6rem 2.5rem; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); }
.topic { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 0.3rem; }
.topic-name { font-family: var(--display); font-size: 2.3rem; line-height: 1; letter-spacing: 0.005em; }
.topic-count { font-family: var(--ui); font-size: 0.875rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.topic:hover .topic-name { color: var(--link); }
.topic-kids { list-style: none; margin: 0.6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.2rem 1rem; font-family: var(--ui); font-size: 0.875rem; }

/* ---------------------------------------------------------- Articolo e pagine */
.article-wrap { padding-block: clamp(1.25rem, 3vw, 2.5rem) clamp(2.5rem, 6vw, 4.5rem); }
.crumbs { font-family: var(--ui); font-size: 0.8125rem; color: var(--muted); margin-bottom: 1.5rem; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.2rem 0.5rem; }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; color: var(--line); }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] span { color: var(--text); }

.article, .archive-head, .article-wrap > .stream, .post-nav, .related, .comments { max-width: var(--read); margin-inline: auto; }
.article-head { margin-bottom: 1.75rem; }
.article-title, .page-title {
	margin: 0.3rem 0 0.9rem; font-family: var(--display); font-weight: 400;
	font-size: clamp(2.6rem, 1.4rem + 4.6vw, 4.6rem); line-height: 1; letter-spacing: 0.005em; text-wrap: balance;
}
.standfirst { margin: 0 0 1rem; font-style: italic; font-size: 1.25rem; line-height: 1.5; color: var(--muted); }
.byline { display: flex; flex-wrap: wrap; gap: 0.2rem 1.25rem; margin: 0; font-family: var(--ui); font-size: 0.875rem; color: var(--muted); }
.article-figure { margin: 0 0 2rem; }
.article-figure img { width: 100%; }

.prose { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); line-height: 1.72; overflow-wrap: break-word; hyphens: auto; }
.prose > * { max-width: 100%; }
.prose p { margin: 0 0 1.25em; }
.prose a { font-weight: 500; text-decoration-thickness: 1.5px; }
.prose h1, .prose h2, .prose h3, .prose h4, .prose h5 { font-family: var(--display); font-weight: 400; line-height: 1.08; letter-spacing: 0.005em; margin: 2em 0 0.6em; text-wrap: balance; }
.prose h1, .prose h2 { font-size: clamp(2rem, 1.6rem + 1.5vw, 2.7rem); }
.prose h3 { font-size: clamp(1.7rem, 1.4rem + 1vw, 2.15rem); }
.prose h4, .prose h5 { font-size: 1.5rem; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.25em; }
.prose li { margin-bottom: 0.4em; }
.prose blockquote {
	margin: 1.75em 0; padding: 0.9rem 1.2rem 0.9rem 1.3rem; border-left: 6px solid var(--marker);
	background: var(--mark-bg); font-style: italic;
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose img { height: auto; }
.prose figure, .prose .wp-caption { margin: 1.75em 0; max-width: 100%; }
.prose figcaption, .prose .wp-caption-text { font-family: var(--ui); font-size: 0.8125rem; color: var(--muted); margin-top: 0.5rem; }
.prose .alignleft { float: left; margin: 0.3em 1.5em 1em 0; max-width: 50%; }
.prose .alignright { float: right; margin: 0.3em 0 1em 1.5em; max-width: 50%; }
.prose .aligncenter { display: block; margin-inline: auto; }
.prose::after { content: ""; display: block; clear: both; }
.prose iframe, .prose embed, .prose object, .prose video { max-width: 100%; }
.prose iframe[src*="youtube"], .prose iframe[src*="youtu.be"], .prose iframe[src*="vimeo"] { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.prose table { display: block; overflow-x: auto; max-width: 100%; border-collapse: collapse; font-family: var(--ui); font-size: 0.9375rem; margin: 1.5em 0; }
.prose th, .prose td { border: 1px solid var(--line); padding: 0.5rem 0.7rem; text-align: left; vertical-align: top; }
.prose pre { overflow-x: auto; padding: 1rem; background: var(--surface); font-size: 0.875rem; line-height: 1.5; border-radius: 2px; }
.prose code { font-size: 0.9em; background: var(--surface); padding: 0.1em 0.3em; border-radius: 2px; }
.prose pre code { background: none; padding: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.prose sup { line-height: 0; }
.prose .footnotes, .prose .wp-footnotes { font-family: var(--ui); font-size: 0.875rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1rem; }
.prose center { display: block; text-align: center; }
.prose font { font: inherit; color: inherit; }
.prose ins { text-decoration: none; background: var(--mark-bg); }
.page-links { font-family: var(--ui); }

.article-foot { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-family: var(--ui); font-size: 0.9375rem; }
.tags { margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: 0.4rem 0.6rem; align-items: baseline; }
.tags span { color: var(--muted); margin-right: 0.3rem; }
.tags a { text-decoration: none; padding: 0.15rem 0.6rem; border: 1px solid var(--line); border-radius: 2px; }
.tags a:hover { border-color: var(--link); }

.post-nav { display: grid; gap: 1rem; margin-top: 3rem; font-family: var(--ui); }
.post-nav a { display: block; padding: 1rem 1.1rem; border: 1px solid var(--line); text-decoration: none; color: var(--text); font-weight: 600; line-height: 1.35; border-radius: 2px; }
.post-nav a span { display: block; font-size: 0.8125rem; font-weight: 400; color: var(--muted); margin-bottom: 0.25rem; }
.post-nav a:hover { border-color: var(--link); }
.post-nav .next { text-align: right; }
@media (min-width: 40rem) { .post-nav { grid-template-columns: 1fr 1fr; } }

.related { margin-top: 3.5rem; }
.related .row { grid-template-columns: 1fr; }
.related .row .when { display: none; }

/* ---------------------------------------------------------- Archivi */
.archive-head { margin-bottom: 1.5rem; }
.archive-desc { margin: 0 0 1.25rem; color: var(--muted); font-size: 1.1rem; max-width: 40rem; }
.chips { list-style: none; margin: 0.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; font-family: var(--ui); font-size: 0.9rem; }
.chips a { display: inline-block; padding: 0.35rem 0.8rem; border: 1px solid var(--line); border-radius: 2px; text-decoration: none; color: var(--text); }
.chips a:hover { border-color: var(--link); color: var(--link); }
.chips small { color: var(--muted); margin-left: 0.25rem; }
.article-wrap > .stream { margin-bottom: 2.5rem; }
.year { margin-bottom: 1.5rem; }
.year-name { margin: 1.25rem 0 0.3rem; font-family: var(--display); font-weight: 400; font-size: 2rem; }
.year-name a { color: var(--text); text-decoration: none; }

/* paginate_links() mette la classe page-numbers anche sul <ul>: gli stili dei numeri vanno sui soli figli di <li>. */
.pager { margin: 2.5rem 0 0; font-family: var(--ui); }
.pager ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.4rem; padding: 0; margin: 0; }
.pager li { margin: 0; }
.pager li > .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; min-height: 2.75rem; padding: 0.4rem 0.85rem; border: 1px solid var(--line); text-decoration: none; color: var(--text); border-radius: 2px; font-size: 0.9375rem; }
.pager li > a.page-numbers:hover { border-color: var(--link); color: var(--link); }
.pager li > .current { background: var(--text); color: var(--bg); border-color: var(--text); font-weight: 700; }
.pager li > .dots { border-color: transparent; min-width: 1.5rem; padding-inline: 0.2rem; }
.pager li > .prev, .pager li > .next { font-weight: 600; }

/* ---------------------------------------------------------- Commenti */
.comments { margin-top: 4rem; }
.comment-list, .comment-list ol { list-style: none; margin: 0; padding: 0; }
.comment-list .children { padding-left: 1.5rem; border-left: 2px solid var(--line); margin-left: 0.5rem; }
.comment article { padding-block: 1.25rem; border-top: 1px solid var(--line); }
.comment header { display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; align-items: center; justify-content: space-between; font-family: var(--ui); font-size: 0.875rem; color: var(--muted); margin-bottom: 0.5rem; }
.comment .who { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--text); }
.comment .who img { border-radius: 50%; }
.comment header a { color: var(--muted); }
.comment .body { font-size: 1rem; line-height: 1.6; }
.comment .body p { margin: 0 0 0.8em; }
.comment .reply a { font-family: var(--ui); font-size: 0.875rem; font-weight: 600; }
.pending, .closed, .hint { font-family: var(--ui); font-size: 0.875rem; color: var(--muted); }
.comment-form { display: grid; gap: 1rem; margin-top: 1.5rem; font-family: var(--ui); }
.comment-form p { margin: 0; }
.comment-form label { display: block; font-size: 0.875rem; margin-bottom: 0.3rem; color: var(--muted); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 0.7rem 0.9rem; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 2px; font-size: 1rem;
}
.comment-reply-title { font-family: var(--display); font-weight: 400; font-size: 2rem; margin: 2.5rem 0 0; }
.comment-form-cookies-consent { display: flex; gap: 0.6rem; align-items: baseline; }
.comment-form-cookies-consent label { margin: 0; }

/* ---------------------------------------------------------- Piè di pagina */
.site-footer { background: var(--graphite); color: #cfd8d6; padding-block: clamp(2.5rem, 6vw, 4rem) 2rem; margin-top: 3rem; font-family: var(--ui); font-size: 0.9375rem; }
.site-footer a { color: #fff; text-decoration-color: var(--iris-light); }
.site-footer a:hover { color: var(--iris-light); }
.site-footer :focus-visible { outline-color: var(--marker); }
.quote { margin: 0 0 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid #3a4246; font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); line-height: 1.35; color: #fff; max-width: 46rem; text-wrap: balance; }
.quote-src { display: block; margin-top: 0.4rem; font-family: var(--ui); font-style: normal; font-size: 0.875rem; color: #a9b6b3; }
.foot-grid { display: grid; gap: 2.2rem; }
@media (min-width: 52rem) { .foot-grid { grid-template-columns: 1fr 1fr 1.4fr; gap: 3rem; } }
.site-footer h2 { margin: 0 0 0.7rem; font-family: var(--display); font-weight: 400; font-size: 1.7rem; letter-spacing: 0.01em; color: #fff; }
.site-footer p { margin: 0 0 1rem; line-height: 1.55; }
.plain { list-style: none; margin: 0; padding: 0; }
.plain li { margin-bottom: 0.4rem; }
.legal { margin: 2.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid #3a4246; font-size: 0.8125rem; color: #a9b6b3; }

/* ---------------------------------------------------------- Indicatore di lettura */
.ring {
	position: fixed; right: 1rem; bottom: 1rem; z-index: 40; width: 3.25rem; height: 3.25rem;
	display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer;
	background: var(--graphite); color: #fff; box-shadow: 0 6px 18px rgb(0 0 0 / 0.3);
	opacity: 0; translate: 0 0.6rem; pointer-events: none; transition: opacity 0.2s, translate 0.2s;
}
.ring.on { opacity: 1; translate: 0 0; pointer-events: auto; }
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; }
.ring circle { fill: none; stroke-width: 3; }
.ring .track { stroke: rgb(255 255 255 / 0.22); }
.ring .bar-arc { stroke: var(--iris-light); stroke-linecap: round; transition: stroke-dashoffset 0.1s linear; }
.ring .arrow { position: relative; }

/* ---------------------------------------------------------- Movimento ridotto e stampa */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (max-width: 39.99rem) {
	.iris-art { opacity: 0.3; width: 18rem; translate: 38% -50%; }
	@keyframes iris-open { from { scale: 0.82; rotate: -24deg; opacity: 0; } to { scale: 1; rotate: 0deg; opacity: 0.3; } }
}
@media print {
	.site-header, .site-footer, .ring, .post-nav, .related, .comments, .skip { display: none !important; }
	body { background: #fff; color: #000; font-size: 11pt; }
	.prose a::after { content: " (" attr(href) ")"; font-size: 0.8em; }
}
