/*
Theme Name: Goguțu
Theme URI: https://gogutu.ro/
Author: Goguțu.ro
Author URI: https://gogutu.ro/
Description: Temă editorială alb-negru, cu umor de caricatură, articole lungi, SEO nativ și distribuire socială fără pluginuri.
Version: 1.3.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gogutu
Tags: blog, news, one-column, two-columns, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, wide-blocks
*/

:root {
	--ink: #080808;
	--paper: #fff;
	--soft: #f4f3ef;
	--line: #c9c7c0;
	--muted: #686868;
	--serif: Georgia, 'Times New Roman', serif;
	--sans: Arial, Helvetica, sans-serif;
	--wrap: 1320px;
	--text: 780px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.5; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
::selection { color: var(--paper); background: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { position: fixed; z-index: 100000; top: 12px; left: 12px; width: auto; height: auto; padding: 12px 16px; clip: auto; background: var(--paper); border: 2px solid var(--ink); }
.section-wrap { width: min(calc(100% - 6vw), var(--wrap)); margin-inline: auto; }
.section-wrap-wide { width: min(calc(100% - 4vw), 1480px); margin-inline: auto; }
.kicker, .story-meta, .label { font: 900 11px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.label { display: inline-block; padding: 8px 10px; border: 1px solid; transform: rotate(-1deg); }
.label-dark { color: var(--paper); background: var(--ink); }
.text-link { display: inline-flex; gap: 10px; align-items: center; padding-bottom: 5px; border-bottom: 2px solid; font-weight: 900; text-decoration: none; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(5px); }
.button-dark { display: inline-block; padding: 14px 18px; color: var(--paper); background: var(--ink); font-weight: 900; text-decoration: none; }

.reading-progress { position: fixed; z-index: 9999; inset: 0 0 auto; height: 3px; pointer-events: none; }
.reading-progress span { display: block; width: 0; height: 100%; background: var(--ink); }
.top-strip { min-height: 32px; padding: 7px 3vw; display: flex; justify-content: space-between; gap: 20px; color: var(--paper); background: var(--ink); font: 800 10px/1.5 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.site-header { position: relative; z-index: 50; min-height: 94px; padding: 0 3vw; display: grid; grid-template-columns: minmax(210px,1fr) auto minmax(210px,1fr); align-items: center; gap: 30px; border-bottom: 2px solid var(--ink); background: var(--paper); }
.brand-wrap { display: flex; align-items: center; }
.custom-logo { width: auto; max-height: 64px; }
.wordmark { font: 900 clamp(30px,3vw,42px)/1 var(--sans); letter-spacing: -.085em; text-decoration: none; }
.wordmark span { margin-left: 2px; font-size: .34em; letter-spacing: 0; }
.primary-nav .menu { display: flex; align-items: center; gap: clamp(16px,2.5vw,38px); padding: 0; margin: 0; list-style: none; }
.primary-nav li { position: relative; }
.primary-nav a { display: block; padding: 36px 0; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.primary-nav a::after { content: ''; position: absolute; right: 0; bottom: 30px; left: 0; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .2s ease; }
.primary-nav a:hover::after, .primary-nav .current-menu-item > a::after { transform: scaleX(1); transform-origin: left; }
.primary-nav .sub-menu { position: absolute; top: 76px; left: -18px; min-width: 190px; padding: 10px 18px; margin: 0; list-style: none; border: 1px solid var(--ink); background: var(--paper); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s ease; }
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav .sub-menu a { padding: 10px 0; }
.header-actions { justify-self: end; display: flex; gap: 8px; }
.header-actions button { padding: 10px 13px; border: 1px solid var(--ink); background: transparent; font-size: 11px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; cursor: pointer; }
.header-actions button:hover { color: var(--paper); background: var(--ink); }
.menu-toggle { display: none; }
.header-search { position: absolute; top: 100%; right: 3vw; width: min(480px,94vw); padding: 18px; border: 1px solid var(--ink); border-top: 0; background: var(--paper); }
.search-form { display: flex; border-bottom: 2px solid var(--ink); }
.search-form label { flex: 1; }
.search-field { width: 100%; padding: 11px 2px; border: 0; outline: 0; background: transparent; }
.search-form button { border: 0; background: transparent; font-weight: 900; cursor: pointer; }

.home-hero { min-height: 670px; display: grid; grid-template-columns: minmax(0,1.32fr) minmax(360px,.68fr); border-bottom: 2px solid var(--ink); }
.home-hero.is-text-only { grid-template-columns: 1fr; }
.home-hero.is-text-only .home-hero-copy { border-right: 0; }
.home-hero-copy { padding: clamp(55px,6vw,90px) 5vw 65px 3vw; border-right: 1px solid var(--ink); }
.home-hero-copy .story-meta { margin: 22px 0 16px; color: var(--muted); }
.home-hero-copy .story-meta a { text-decoration: none; }
.home-hero h1 { max-width: 950px; margin: 0 0 28px; font: 700 clamp(52px,6.2vw,98px)/.92 var(--serif); letter-spacing: -.065em; }
.home-hero h1 a { text-decoration: none; }
.home-hero h1 a:hover { text-decoration: underline; text-decoration-thickness: 5px; }
.hero-excerpt { max-width: 700px; margin: 0 0 34px; font: 20px/1.5 var(--serif); }
.home-mascot { position: relative; min-height: 600px; padding: 50px 2vw 32px; margin: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; overflow: hidden; background: var(--paper); }
.home-mascot img { position: relative; z-index: 1; width: min(100%,560px); max-height: 540px; object-fit: contain; filter: contrast(1.08); }
.home-mascot .speech { position: absolute; z-index: 2; top: 50px; right: 20px; max-width: 180px; padding: 10px 13px; border: 1px solid; border-radius: 50%; background: var(--paper); font: italic 18px/1.15 var(--serif); transform: rotate(5deg); }
.home-mascot figcaption { position: relative; z-index: 2; padding-top: 10px; border-top: 2px solid; font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.home-mascot small { position: relative; z-index: 2; margin-top: 4px; font: italic 11px var(--serif); }

.section-head { padding: 46px 0 14px; display: flex; justify-content: space-between; align-items: end; border-bottom: 2px solid; }
.section-head h2 { margin: 0; font-size: 13px; letter-spacing: .13em; text-transform: uppercase; }
.section-head > a { font-size: 12px; font-weight: 900; text-decoration: none; }
.story-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; }
.story-card { min-height: 400px; padding: 34px 28px 40px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.story-card:nth-child(3n) { border-right: 0; }
.story-card-lead { grid-row: span 2; min-height: 800px; padding-left: 0; }
.story-card:nth-child(4) { grid-column: 2; }
.story-card:nth-child(5) { grid-column: 3; border-right: 0; }
.card-top { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.story-number { color: #aaa; font: italic 50px/1 var(--serif); }
.card-image { width: 48%; aspect-ratio: 3/2; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: transform .35s ease; }
.story-card:hover .card-image img { transform: scale(1.035); }
.story-meta { margin: 25px 0 14px; color: var(--muted); }
.story-meta a { text-decoration: none; }
.card-title { margin: 0 0 20px; font-family: var(--serif); line-height: 1.08; letter-spacing: -.035em; }
.story-card h3 { font-size: clamp(23px,2.1vw,32px); }
.story-card-lead .card-title { max-width: 720px; font-size: clamp(36px,4.3vw,64px); }
.card-title a { text-decoration: none; }
.card-title a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.card-excerpt { max-width: 640px; font: 18px/1.5 var(--serif); }
.empty-state { grid-column: 1/-1; padding: 70px 0; }
.empty-state h2 { font: 700 clamp(34px,4vw,58px)/1 var(--serif); }
.manifesto { position: relative; padding-top: 120px; padding-bottom: 120px; }
.manifesto blockquote { max-width: 1080px; margin: 25px 0 38px; font: 700 clamp(42px,5.7vw,78px)/1 var(--serif); letter-spacing: -.05em; }
.manifesto-note { display: flex; align-items: center; gap: 14px; max-width: 570px; margin-left: auto; transform: rotate(-2deg); }
.manifesto-note span { font-size: 48px; }
.manifesto-note p { font: italic 18px/1.4 var(--serif); }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 45px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.breadcrumbs a { text-decoration: none; }
.article-header { max-width: 1160px; padding-top: 55px; padding-bottom: 55px; text-align: center; }
.article-header .story-meta { margin-bottom: 22px; }
.article-header h1, .page-header h1, .archive-header h1 { margin: 0; font: 700 clamp(50px,7.2vw,108px)/.93 var(--serif); letter-spacing: -.06em; }
.article-deck { max-width: 850px; margin: 30px auto 0; font: 22px/1.45 var(--serif); color: #313131; }
.article-byline { margin-top: 34px; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 25px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.article-hero { margin-bottom: 50px; }
.article-hero img { width: 100%; max-height: 780px; object-fit: cover; filter: grayscale(1); }
.article-hero figcaption, .wp-caption-text, .gallery-caption { padding-top: 8px; color: var(--muted); font: italic 12px var(--serif); }
.article-layout { display: grid; grid-template-columns: 110px minmax(0,var(--text)) minmax(220px,1fr); justify-content: center; gap: clamp(25px,4vw,70px); align-items: start; }
.share-rail { position: sticky; top: 35px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.share-rail > span { margin-bottom: 8px; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 9px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.share-rail a, .share-rail button { width: 42px; height: 42px; padding: 0; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; background: var(--paper); font-size: 11px; font-weight: 900; text-decoration: none; cursor: pointer; text-transform: uppercase; }
.share-rail a:hover, .share-rail button:hover { color: var(--paper); background: var(--ink); }
.article-body { min-width: 0; font: 20px/1.75 var(--serif); }
.article-body > *:first-child { margin-top: 0; }
.article-body > p:first-child::first-letter { float: left; margin: .06em .11em 0 0; font: 700 4.3em/.72 var(--serif); }
.article-body h2 { margin: 2em 0 .65em; font: 700 clamp(35px,4vw,54px)/1.08 var(--serif); letter-spacing: -.035em; scroll-margin-top: 30px; }
.article-body h3 { margin: 1.8em 0 .55em; font: 700 30px/1.15 var(--serif); scroll-margin-top: 30px; }
.article-body h4 { margin-top: 1.7em; font: 900 16px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.article-body p { margin: 0 0 1.45em; }
.article-body a { font-weight: 700; }
.article-body blockquote { position: relative; margin: 2em -8vw; padding: 42px 7vw 42px 8vw; border-block: 2px solid; font: italic 700 clamp(28px,4vw,47px)/1.2 var(--serif); }
.article-body blockquote::before { content: '„'; position: absolute; top: 15px; left: 2vw; font-size: 80px; line-height: 1; }
.article-body blockquote p { margin: 0; }
.article-body ul, .article-body ol { padding-left: 1.25em; margin: 0 0 1.5em; }
.article-body li { margin-bottom: .55em; padding-left: .35em; }
.article-body hr { margin: 3em 0; border: 0; border-top: 2px solid; }
.article-body figure { margin: 2.5em 0; }
.article-body .alignwide { width: min(1100px,calc(100vw - 6vw)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.article-body .alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.article-body table { width: 100%; margin: 2em 0; border-collapse: collapse; font-family: var(--sans); font-size: 15px; }
.article-body th, .article-body td { padding: 12px; border: 1px solid; text-align: left; }
.article-body th { color: var(--paper); background: var(--ink); }
.article-body pre { max-width: 100%; overflow: auto; padding: 22px; color: var(--paper); background: var(--ink); font-size: 14px; }
.article-body code { padding: .15em .35em; background: var(--soft); font-size: .85em; }
.article-aside { position: sticky; top: 35px; }
.toc { padding: 20px; border-top: 2px solid; border-bottom: 1px solid; }
.toc[hidden] { display: none; }
.toc-title { margin: 0 0 12px; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.toc ol { padding: 0; margin: 0; list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; margin-bottom: 9px; }
.toc li::before { content: counter(toc,decimal-leading-zero) ' '; color: #888; font: italic 14px var(--serif); }
.toc li.toc-h3 { padding-left: 12px; }
.toc a { font: 700 12px/1.35 var(--sans); text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.gogutu-aside { margin-top: 35px; padding: 18px; border: 1px solid; transform: rotate(1deg); }
.gogutu-aside img { width: 130px; margin: -8px auto 8px; }
.gogutu-aside p { margin: 0; font: italic 14px/1.35 var(--serif); }
.widget { margin-top: 30px; padding-top: 20px; border-top: 2px solid; font-size: 13px; }
.widget-title { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.article-audio { max-width: 960px; margin-top: 70px; padding: 32px; display: grid; grid-template-columns: minmax(240px,.75fr) minmax(0,1.25fr); gap: 45px; align-items: center; border: 2px solid var(--ink); background: var(--soft); }
.article-audio-intro { display: flex; gap: 20px; align-items: flex-start; }
.audio-mark { width: 52px; height: 52px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: var(--paper); background: var(--ink); font: 900 12px var(--sans); letter-spacing: -3px; }
.article-audio h2 { margin: 4px 0 8px; font: 700 34px/1 var(--serif); letter-spacing: -.035em; }
.article-audio-intro p:last-child { margin: 0; font: 14px/1.45 var(--serif); }
.uploaded-audio audio { width: 100%; accent-color: var(--ink); }
.audio-details { margin: 9px 0 0; display: flex; gap: 18px; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.tts-controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tts-controls button, .tts-controls select { min-height: 40px; padding: 9px 12px; border: 1px solid var(--ink); background: var(--paper); font-size: 11px; font-weight: 900; text-transform: uppercase; cursor: pointer; }
.tts-controls button:hover, .tts-controls button.is-active { color: var(--paper); background: var(--ink); }
.tts-controls button:disabled { opacity: .45; cursor: not-allowed; }
.tts-controls label { margin-left: auto; display: flex; align-items: center; gap: 7px; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.tts-status, .tts-unavailable { margin: 12px 0 0; color: var(--muted); font-size: 12px; }
.article-footer { max-width: 960px; padding-top: 70px; padding-bottom: 80px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 35px; }
.tag-list span, .tag-list a { padding: 7px 9px; border: 1px solid; font-size: 10px; font-weight: 900; text-decoration: none; text-transform: uppercase; }
.tag-list span { color: var(--paper); background: var(--ink); }
.author-box { padding: 30px; display: grid; grid-template-columns: 96px 1fr; gap: 25px; border-block: 2px solid; }
.author-box .avatar { border-radius: 50%; filter: grayscale(1); }
.author-box h2 { margin: 5px 0; font: 700 30px var(--serif); }
.author-box p { margin: 0; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 40px; }
.post-nav div:last-child { text-align: right; }
.post-nav span { display: block; margin-bottom: 7px; color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.post-nav a { display: block; font: 700 21px/1.2 var(--serif); text-decoration: none; }
.post-nav a:hover { text-decoration: underline; }

.standard-page { max-width: 980px; padding-top: 60px; padding-bottom: 100px; }
.page-header { margin-bottom: 50px; }
.page-header .breadcrumbs { margin-bottom: 30px; }
.page-header .article-deck { margin-left: 0; }
.page-image { margin: 0 0 45px; }
.archive-header { padding-top: 70px; padding-bottom: 55px; border-bottom: 2px solid; }
.archive-header h1 { margin-top: 12px; }
.archive-description { max-width: 700px; font: 19px/1.5 var(--serif); }
.archive-clean-header { padding-top: 78px; padding-bottom: 64px; display: grid; grid-template-columns: minmax(0,1.45fr) minmax(260px,.55fr); align-items: end; gap: 7vw; }
.archive-clean-header .kicker { margin: 0 0 15px; }
.archive-clean-header h1 { margin: 0; font-size: clamp(64px,9vw,132px); line-height: .78; }
.archive-clean-header .archive-description { max-width: 440px; color: #3f3f3f; font-size: 18px; }
.archive-clean-header .archive-description > *:first-child { margin-top: 0; }
.archive-clean-header .archive-description > *:last-child { margin-bottom: 0; }
.archive-list { padding-top: 52px; padding-bottom: 30px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 64px 44px; }
.archive-story { min-width: 0; }
.archive-story-image { display: block; aspect-ratio: 16/10; overflow: hidden; border-bottom: 2px solid; background: var(--soft); }
.archive-story-image img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.03); transition: transform .35s ease; }
.archive-story-image img.is-fallback { object-fit: contain; object-position: center 30%; padding: 3%; background: var(--paper); }
.archive-story:hover .archive-story-image img { transform: scale(1.025); }
.archive-story-copy { padding-top: 22px; }
.archive-story-meta { margin: 0 0 12px; color: var(--muted); font: 900 9px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.archive-story-copy h2 { margin: 0; font: 700 clamp(29px,3.1vw,45px)/1.04 var(--serif); letter-spacing: -.04em; }
.archive-story-copy h2 a { text-decoration: none; }
.archive-story-copy h2 a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.archive-story-excerpt { max-width: 760px; margin: 14px 0 0; color: #4a4a4a; font: 16px/1.5 var(--serif); }
.archive-story-link { margin-top: 22px; padding-top: 12px; display: flex; justify-content: space-between; border-top: 1px solid; font-size: 11px; font-weight: 900; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.archive-story-link span { font-size: 17px; line-height: .7; transition: transform .18s ease; }
.archive-story-link:hover span { transform: translate(3px,-3px); }
.archive-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.archive-grid .story-card { border-bottom: 1px solid; }
.archive-grid .story-card:nth-child(3n+1) { padding-left: 0; }
.pagination-wrap { padding-top: 45px; padding-bottom: 80px; }
.nav-links { display: flex; justify-content: center; gap: 7px; }
.nav-links .page-numbers { min-width: 38px; height: 38px; padding: 8px; display: grid; place-items: center; border: 1px solid; text-decoration: none; }
.nav-links .current, .nav-links a:hover { color: var(--paper); background: var(--ink); }
.error-page { min-height: 660px; padding-top: 70px; padding-bottom: 70px; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 8vw; }
.error-code { margin: 0; font: italic 90px/1 var(--serif); }
.error-page h1 { max-width: 820px; margin: 15px 0 25px; font: 700 clamp(48px,6vw,88px)/.95 var(--serif); letter-spacing: -.055em; }
.error-page > div > p:not(.error-code,.kicker) { max-width: 620px; font: 19px/1.5 var(--serif); }
.error-page img { max-height: 500px; object-fit: contain; }
.comments-area { max-width: 850px; padding-top: 60px; padding-bottom: 90px; border-top: 2px solid; }
.comments-area > h2, .comment-reply-title { font: 700 34px var(--serif); }
.comment-list { padding: 0; list-style: none; }
.comment-list ol { list-style: none; }
.comment-body { padding: 22px 0; border-bottom: 1px solid var(--line); }
.comment-meta { font-size: 12px; }
.comment-author { display: flex; align-items: center; gap: 10px; }
.comment-author img { border-radius: 50%; filter: grayscale(1); }
.comment-form label { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.comment-form input:not([type=checkbox]), .comment-form textarea { width: 100%; padding: 12px; border: 1px solid var(--ink); background: var(--paper); }
.form-submit input { padding: 13px 18px; border: 0; color: var(--paper); background: var(--ink); font-weight: 900; cursor: pointer; }

.site-footer { position: relative; padding: 70px 3vw 25px; overflow: hidden; color: var(--paper); background: var(--ink); display: grid; grid-template-columns: minmax(250px,.55fr) minmax(0,1fr) minmax(220px,.45fr); gap: 4vw; }
.footer-mascot img { width: 280px; margin: auto; filter: invert(1) grayscale(1) contrast(1.25); mix-blend-mode: screen; }
.footer-lead h2 { max-width: 700px; margin: 10px 0 15px; font: 700 clamp(48px,6vw,88px)/.95 var(--serif); letter-spacing: -.05em; }
.footer-lead > p:last-child { font: 18px var(--serif); }
.footer-links { display: flex; flex-direction: column; gap: 30px; justify-content: center; }
.footer-links ul { padding: 0; margin: 0; list-style: none; }
.footer-links a { display: inline-block; margin-bottom: 8px; font-weight: 800; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.social-links { display: flex; flex-direction: column; }
.footer-bottom { grid-column: 1/-1; padding-top: 22px; margin-top: 25px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #555; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.toast { position: fixed; z-index: 99999; right: 20px; bottom: 20px; max-width: 360px; padding: 13px 16px; color: var(--paper); background: var(--ink); font-size: 13px; transform: translateY(140%); transition: transform .25s ease; }
.toast.is-visible { transform: none; }

@media (max-width: 1100px) {
	.site-header { grid-template-columns: 1fr auto; }
	.primary-nav { position: absolute; top: 100%; right: 0; left: 0; padding: 15px 3vw 25px; border-bottom: 2px solid; background: var(--paper); transform: translateY(-10px); opacity: 0; visibility: hidden; transition: .2s ease; }
	.primary-nav.is-open { transform: none; opacity: 1; visibility: visible; }
	.primary-nav .menu { align-items: stretch; flex-direction: column; gap: 0; }
	.primary-nav a { padding: 12px 0; }
	.primary-nav a::after { bottom: 7px; }
	.primary-nav .sub-menu { position: static; padding: 0 0 0 20px; border: 0; opacity: 1; visibility: visible; transform: none; }
	.menu-toggle { display: block; }
	.home-hero { grid-template-columns: minmax(0,1.1fr) minmax(330px,.9fr); }
	.story-grid { grid-template-columns: 1fr 1fr; }
	.story-card, .story-card:nth-child(3n) { border-right: 1px solid; }
	.story-card:nth-child(even) { border-right: 0; }
	.story-card-lead { grid-row: auto; min-height: 540px; padding-left: 0; }
	.story-card:nth-child(4), .story-card:nth-child(5) { grid-column: auto; }
	.article-layout { grid-template-columns: 70px minmax(0,var(--text)); }
	.article-aside { grid-column: 2; position: static; display: grid; grid-template-columns: 1fr 180px; gap: 25px; }
	.gogutu-aside { margin-top: 0; }
	.site-footer { grid-template-columns: .55fr 1fr; }
	.footer-links { grid-column: 1/-1; flex-direction: row; justify-content: space-between; }
}

@media (max-width: 760px) {
	.top-strip span:nth-child(2) { display: none; }
	.site-header { min-height: 76px; padding-inline: 20px; gap: 12px; }
	.search-toggle { display: none; }
	.wordmark { font-size: 31px; }
	.home-hero { grid-template-columns: 1fr; }
	.home-hero-copy { padding: 50px 22px 55px; border-right: 0; border-bottom: 1px solid; }
	.home-hero h1 { font-size: clamp(50px,15vw,78px); }
	.home-mascot { min-height: 500px; }
	.home-mascot img { max-height: 430px; }
	.story-grid, .archive-grid { grid-template-columns: 1fr; }
	.story-card, .story-card:nth-child(n) { min-height: 0; padding: 32px 0 45px; border-right: 0; }
	.story-card-lead { min-height: 0; }
	.manifesto { padding-top: 80px; padding-bottom: 80px; }
	.manifesto blockquote { font-size: 43px; }
	.article-header { text-align: left; }
	.article-header h1, .page-header h1, .archive-header h1 { font-size: clamp(48px,14vw,74px); }
	.archive-clean-header { padding-top: 52px; padding-bottom: 42px; grid-template-columns: 1fr; gap: 25px; }
	.archive-clean-header h1 { font-size: 74px; }
	.archive-list { grid-template-columns: 1fr; gap: 46px; padding-top: 36px; }
	.archive-story-copy h2 { font-size: 34px; }
	.archive-story-excerpt { font-size: 15px; }
	.article-deck { margin-left: 0; }
	.article-byline { justify-content: flex-start; }
	.article-layout { width: min(calc(100% - 40px),var(--text)); grid-template-columns: 1fr; }
	.share-rail { position: static; flex-direction: row; justify-content: flex-start; padding-bottom: 20px; border-bottom: 1px solid; }
	.share-rail > span { margin: 0 6px 0 0; writing-mode: initial; transform: none; }
	.article-body { font-size: 19px; }
	.article-body blockquote { margin-inline: 0; padding: 30px 24px 30px 45px; }
	.article-body blockquote::before { left: 8px; }
	.article-aside { grid-column: 1; display: block; }
	.toc { margin-top: 25px; }
	.gogutu-aside { display: none; }
	.article-audio { margin-top: 50px; padding: 24px; grid-template-columns: 1fr; gap: 25px; }
	.tts-controls label { width: 100%; margin: 4px 0 0; justify-content: flex-start; }
	.author-box { grid-template-columns: 70px 1fr; padding: 24px 0; }
	.author-box .avatar { width: 70px; }
	.post-nav { grid-template-columns: 1fr; }
	.post-nav div:last-child { text-align: left; }
	.error-page { grid-template-columns: 1fr; }
	.error-page img { max-height: 360px; }
	.site-footer { grid-template-columns: 1fr; padding-inline: 22px; }
	.footer-mascot img { width: 210px; }
	.footer-links { grid-column: auto; flex-direction: column; }
	.footer-bottom { flex-direction: column; }
}

@media (max-width: 480px) {
	.top-strip span:last-child { display: none; }
	.header-actions button { padding: 9px 10px; }
	.home-mascot { min-height: 410px; }
	.home-mascot .speech { top: 25px; font-size: 15px; }
	.section-head { align-items: start; gap: 15px; }
	.article-header { padding-top: 35px; }
	.breadcrumbs { margin-bottom: 30px; }
	.article-byline { flex-direction: column; gap: 5px; }
	.article-body h2 { font-size: 36px; }
	.post-nav { padding-top: 30px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
	.top-strip, .site-header, .reading-progress, .share-rail, .article-aside, .site-footer, .comments-area { display: none !important; }
	.article-layout { display: block; width: 100%; }
	.article-body { max-width: none; font-size: 12pt; }
	.article-body a { text-decoration: none; }
}
