/*
Theme Name: Stillnote
Theme URI: https://msu.im/
Author: msu.im
Description: A quiet, typography-led journal theme for WordPress.
Version: 1.3.2
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stillnote
Tags: blog, custom-menu, featured-images, translation-ready
*/

:root {
	--stillnote-ink: #454545;
	--stillnote-heading: #222;
	--stillnote-paper: #fff;
	--stillnote-muted: #767676;
	--stillnote-font: "Avenir Next", "Helvetica Neue", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
}

html {
	box-sizing: border-box;
	-webkit-text-size-adjust: 100%;
}

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

body {
	margin: 0;
	background: var(--stillnote-paper);
	color: var(--stillnote-ink);
	font-family: var(--stillnote-font);
	font-size: 15px;
	font-weight: 400;
	line-height: 24px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

button,
input,
select,
textarea {
	font: inherit;
}

a {
	color: var(--stillnote-heading);
	text-decoration: none;
}

a:hover,
a:focus-visible {
	color: #000;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

figure {
	margin: 0 0 18.75px;
}

.screen-reader-text {
	position: absolute !important;
	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 {
	top: 8px;
	left: 8px;
	z-index: 100000;
	display: block;
	width: auto;
	height: auto;
	padding: 12px 16px;
	clip: auto !important;
	background: var(--stillnote-paper);
	color: var(--stillnote-heading);
	font-weight: 700;
	white-space: normal;
}

:focus-visible {
	outline: 1px solid currentColor;
	outline-offset: 4px;
}

/* Header */
.site-header {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: 1000;
	height: 101.2px;
	background: var(--stillnote-paper);
}

.admin-bar .site-header {
	top: 32px;
}

.site-header-inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	align-items: start;
	column-gap: 18px;
	width: 100%;
	height: 100%;
	padding: 35px;
}

.site-branding {
	position: static;
	grid-column: 3;
	grid-row: 1;
	justify-self: end;
	line-height: 28px;
	text-align: right;
}

.site-title {
	display: inline-block;
	margin: 0;
	color: var(--stillnote-heading);
	font-size: 28px;
	font-weight: 400;
	letter-spacing: 2px;
	line-height: 28px;
	text-transform: uppercase;
	white-space: nowrap;
}

.site-title a {
	color: inherit;
}

.site-title-logo .custom-logo-link {
	display: block;
}

.site-title-logo .custom-logo {
	width: auto;
	max-width: min(320px, calc(100vw - 70px));
	height: 28px;
	object-fit: contain;
}

.primary-navigation {
	position: static;
	grid-column: 1;
	grid-row: 1;
	min-width: 0;
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 1.4px;
	line-height: 28px;
	text-transform: uppercase;
}

.primary-navigation ul {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-navigation li {
	margin: 0 21px 10px 0;
	padding: 0;
}

.primary-navigation a {
	display: inline-block;
	padding: 0 0 2px;
	color: var(--stillnote-ink);
}

.primary-navigation a:hover,
.primary-navigation a:focus-visible,
.primary-navigation .current-menu-item > a,
.primary-navigation .current_page_item > a {
	color: var(--stillnote-heading);
	box-shadow: inset 0 -1px 0 currentColor;
}

.header-search {
	grid-column: 2;
	grid-row: 1;
	justify-self: end;
	margin-top: -8px;
	z-index: 2;
}

.header-search-form {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	min-height: 44px;
}

.header-search-field {
	order: 1;
	width: clamp(160px, 18vw, 240px);
	height: 36px;
	min-width: 0;
	margin: 0 4px 0 0;
	padding: 5px 10px;
	border: 0;
	border-bottom: 1px solid #a9a9a9;
	border-radius: 0;
	outline: 0;
	background: var(--stillnote-paper);
	color: var(--stillnote-heading);
	font-size: 14px;
	line-height: 24px;
	opacity: 1;
	pointer-events: auto;
	transition: width 220ms ease, padding 220ms ease, opacity 160ms ease, border-color 160ms ease;
	-webkit-appearance: none;
}

.header-search-field::placeholder {
	color: var(--stillnote-muted);
	opacity: 1;
}

.header-search-form:focus-within .header-search-field,
.header-search-form.is-open .header-search-field,
.header-search.is-open .header-search-field {
	width: clamp(160px, 18vw, 240px);
	margin-right: 4px;
	padding-right: 10px;
	padding-left: 10px;
	border-bottom-color: #a9a9a9;
	opacity: 1;
	pointer-events: auto;
}

.has-js .header-search-form:not(.is-open) .header-search-field {
	width: 0;
	margin-right: 0;
	padding-right: 0;
	padding-left: 0;
	border-bottom-color: transparent;
	opacity: 0;
	pointer-events: none;
}

.header-search-field:focus-visible {
	border-bottom-color: var(--stillnote-heading);
	outline: 0;
}

.header-search-submit {
	display: inline-flex;
	order: 2;
	flex: 0 0 44px;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--stillnote-ink);
	cursor: pointer;
}

.header-search-submit:hover,
.header-search-submit:focus-visible {
	color: var(--stillnote-heading);
}

.header-search-icon {
	display: block;
	width: 18px;
	height: 18px;
	border: 0;
	border-radius: 0;
	color: currentColor;
}

.mobile-menu-bar {
	display: none;
}

.menu-toggle {
	margin: 0;
	border: 0;
	background: transparent;
	color: var(--stillnote-heading);
	cursor: pointer;
}

/* Main journal layout */
.site-content {
	min-height: calc(100vh - 101.2px);
	margin-top: 101.2px;
}

.site-content > .container-content,
.site-content.container-content {
	width: 100%;
	max-width: 1200px;
	margin-right: auto;
	margin-left: auto;
	padding: 85px 30px 23px;
}

.minimal-post {
	display: grid;
	grid-template-columns: 253px minmax(0, 1fr);
	grid-template-areas: "sidebar main";
	column-gap: 42.75px;
	width: 100%;
	margin: 0 0 100px;
}

.entry-main {
	grid-area: main;
	min-width: 0;
}

.entry-sidebar {
	grid-area: sidebar;
	min-width: 0;
	padding: 15px 0;
}

.entry-title {
	margin: 0 0 21px;
	color: var(--stillnote-heading);
	font-size: 42px;
	font-weight: 200;
	letter-spacing: normal;
	line-height: 1.2;
	overflow-wrap: anywhere;
}

.entry-title a {
	color: inherit;
}

.blog-index .entry-title a {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: transparent;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.16em;
	transition: color 180ms ease, opacity 180ms ease, text-decoration-color 180ms ease;
}

.blog-index .entry-title a:hover,
.blog-index .entry-title a:focus-visible {
	color: #000;
	text-decoration-color: currentColor;
}

.blog-index .entry-title a:active {
	color: #000;
	opacity: 0.62;
	text-decoration-color: currentColor;
}

.entry-content {
	color: var(--stillnote-ink);
	font-size: 15px;
	line-height: 24px;
}

.entry-content::after {
	display: table;
	clear: both;
	content: "";
}

.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content blockquote,
.entry-content pre,
.entry-content table,
.entry-content .wp-block-image,
.entry-content .wp-block-gallery {
	margin-top: 0;
	margin-bottom: 18.75px;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.35em;
}

.entry-content blockquote {
	margin-left: 0;
	padding-left: 20px;
	border-left: 1px solid #b8b8b8;
}

.entry-content a {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin: 36px 0 18.75px;
	color: var(--stillnote-heading);
	font-weight: 400;
	line-height: 1.25;
}

.entry-content h2 {
	font-size: 30px;
}

.entry-content h3 {
	font-size: 23px;
}

.entry-content h4 {
	font-size: 18px;
}

.entry-date {
	color: var(--stillnote-heading);
	font-size: 15px;
	font-weight: 700;
	line-height: 24px;
}

.entry-author {
	display: none;
}

.entry-actions {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-top: 30px;
	line-height: 18px;
}

.like-button,
.share-button {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--stillnote-ink);
	font-size: 15px;
	line-height: 18px;
	cursor: pointer;
}

.share-button {
	white-space: nowrap;
}

.like-button::before,
.share-button::before {
	display: inline-flex;
	flex: 0 0 18px;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	color: currentColor;
	font-size: 18px;
	font-weight: 300;
	line-height: 1;
}

.like-icon,
.share-icon {
	display: none;
}

.share-button .screen-reader-text {
	position: static !important;
	width: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	clip: auto;
	white-space: normal;
}

.like-button::before {
	content: "\2661";
}

.like-button.is-liked::before,
.like-button[aria-pressed="true"]::before {
	content: "\2665";
}

.share-button::before {
	content: "\2197\FE0E";
	background: none;
	color: currentColor;
	font-family: "Segoe UI Symbol", "Noto Sans Symbols 2", "Noto Sans Symbols", Arial, sans-serif;
	font-size: 16px;
	font-variant-emoji: text;
	text-shadow: none;
}

.like-button:hover,
.like-button:focus-visible,
.share-button:hover,
.share-button:focus-visible {
	color: var(--stillnote-heading);
}

.like-button[aria-busy="true"],
.like-button[aria-disabled="true"] {
	cursor: default;
}

.like-button[aria-busy="true"] {
	opacity: 0.55;
}

.share-button[aria-busy="true"],
.share-button[aria-disabled="true"] {
	cursor: default;
}

.share-button[aria-busy="true"] {
	opacity: 0.55;
}

.share-button.is-copy-success {
	color: var(--stillnote-heading);
}

.share-button.has-copy-error {
	color: #7b3434;
}

.single-back-link {
	display: block;
	width: max-content;
	max-width: 100%;
	margin: 0 0 38px 295.75px;
	padding-bottom: 2px;
	border-bottom: 1px solid transparent;
	color: var(--stillnote-muted);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.9px;
	line-height: 20px;
	text-decoration: none;
	transition: border-color 180ms ease, color 180ms ease, opacity 180ms ease;
}

.single-back-link:hover,
.single-back-link:focus-visible {
	border-bottom-color: currentColor;
	color: var(--stillnote-heading);
}

.single-back-link:active {
	opacity: 0.62;
}

.post-navigation {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 20px 0 100px 295.75px;
	font-size: 14px;
	line-height: 22px;
}

.post-navigation a {
	display: inline-block;
}

/* Journal indexes and tag filters */
.category-stream-header,
.search-results-header {
	width: calc(100% - 295.75px);
	max-width: 844.25px;
	margin: 0 0 36px 295.75px;
}

.category-stream-title {
	margin-bottom: 14px;
}

.category-stream-description {
	max-width: 720px;
}

.category-stream-description > :last-child {
	margin-bottom: 0;
}

.search-results-title {
	margin: 0;
	color: var(--stillnote-heading);
	font-size: clamp(30px, 2.35vw, 40px);
	font-weight: 200;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

.stream-tag-filter {
	width: calc(100% - 295.75px);
	max-width: 844.25px;
	margin: 0 0 18px 295.75px;
}

.stream-tag-filter-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.stream-tag-filter-item {
	flex: 0 0 auto;
	margin: 0;
	padding: 0;
}

.stream-tag-filter-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 32px;
	padding: 5px 12px;
	border: 1px solid #d7d7d7;
	border-radius: 999px;
	color: var(--stillnote-muted);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.35px;
	line-height: 20px;
	white-space: nowrap;
	transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.stream-tag-filter-link:hover,
.stream-tag-filter-link:focus-visible {
	border-color: var(--stillnote-heading);
	color: var(--stillnote-heading);
}

.stream-tag-filter-item.is-active .stream-tag-filter-link {
	border-color: var(--stillnote-heading);
	background: var(--stillnote-heading);
	color: var(--stillnote-paper);
}

.stream-tag-filter-item.is-active .stream-tag-filter-link:hover,
.stream-tag-filter-item.is-active .stream-tag-filter-link:focus-visible {
	background: #000;
	color: var(--stillnote-paper);
}

.post-list-item {
	margin-bottom: 0;
	padding-top: 46px;
	padding-bottom: 46px;
	border-top: 1px solid #e2e2e2;
}

.blog-index > .post-list-item:last-of-type,
.category-stream-posts > .post-list-item:last-child,
.search-results-list > .post-list-item:last-child {
	border-bottom: 1px solid #e2e2e2;
}

.post-list-item .entry-main {
	min-width: 0;
}

.post-list-item .entry-main:has(.post-list-thumbnail) {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 214px;
	grid-template-areas:
		"list-title list-thumbnail"
		"list-summary list-thumbnail"
		"list-links list-thumbnail";
	column-gap: 30px;
	align-items: start;
}

.post-list-item .entry-title {
	grid-area: list-title;
	margin-bottom: 14px;
	font-size: clamp(30px, 2.2vw, 36px);
	line-height: 1.24;
	overflow-wrap: anywhere;
}

.post-list-thumbnail {
	display: block;
	grid-area: list-thumbnail;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #f2f2f2;
}

.post-list-thumbnail-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.post-list-summary {
	grid-area: list-summary;
	min-width: 0;
	margin: 0 0 20px;
	color: #555;
	font-size: 15px;
	line-height: 25px;
	overflow-wrap: anywhere;
}

.post-list-summary p {
	margin: 0;
}

.post-list-links {
	display: flex;
	grid-area: list-links;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 9px 18px;
	min-width: 0;
}

.post-list-tags {
	display: flex;
	flex: 1 1 220px;
	flex-wrap: wrap;
	gap: 5px 13px;
	min-width: 0;
}

.post-list-tag-link,
.post-list-read-more {
	color: var(--stillnote-muted);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.35px;
	line-height: 20px;
	text-decoration: underline;
	text-decoration-color: transparent;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color 160ms ease, text-decoration-color 160ms ease, opacity 160ms ease;
}

.post-list-tag-link {
	max-width: 100%;
	overflow-wrap: anywhere;
}

.post-list-read-more {
	flex: 0 0 auto;
	margin-left: auto;
	color: var(--stillnote-heading);
	letter-spacing: 0.65px;
}

.post-list-tag-link:hover,
.post-list-tag-link:focus-visible,
.post-list-read-more:hover,
.post-list-read-more:focus-visible {
	color: var(--stillnote-heading);
	text-decoration-color: currentColor;
}

.post-list-tag-link:active,
.post-list-read-more:active {
	opacity: 0.62;
}

.post-list-item .entry-sidebar {
	padding-top: 6px;
}

.post-list-item .entry-date {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.25px;
	line-height: 20px;
}

.post-list-item .entry-actions {
	flex-wrap: wrap;
	gap: 10px 16px;
	margin-top: 16px;
}

.post-list-item .like-button,
.post-list-item .share-button {
	font-size: 13px;
}

.search-no-results,
.stream-filter-empty,
.search-results-page > .navigation,
.search-results-page > .no-results {
	width: calc(100% - 295.75px);
	max-width: 844.25px;
	margin-left: 295.75px;
}

.stream-filter-empty,
.search-no-results {
	margin-top: 38px;
	margin-bottom: 90px;
}

.stream-filter-empty .entry-title,
.search-no-results .entry-title {
	margin-bottom: 14px;
	font-size: 32px;
}

.stream-filter-empty p,
.search-no-results p {
	max-width: 620px;
	margin: 0 0 16px;
}

.stream-filter-clear {
	color: var(--stillnote-heading);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.45px;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.stream-filter-clear:hover,
.stream-filter-clear:focus-visible {
	color: #000;
}

/* Footer */
.site-footer {
	width: 100%;
	background: var(--stillnote-paper);
}

.site-footer .container-content {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 70px 30px 150px;
}

.site-footer .container-content.is-empty {
	display: none;
}

.social-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.social-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	min-height: 24px;
	color: var(--stillnote-ink);
}

.social-links svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.pagination,
.nav-links {
	font-size: 14px;
}

.blog-index > .posts-navigation,
.category-stream-pagination,
.navigation.pagination {
	width: calc(100% - 295.75px);
	max-width: 844.25px;
	margin: 38px 0 100px 295.75px;
}

.posts-navigation .nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 24px;
}

.posts-navigation a,
.navigation.pagination a.page-numbers {
	color: var(--stillnote-muted);
	text-decoration: underline;
	text-decoration-color: transparent;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.posts-navigation a:hover,
.posts-navigation a:focus-visible,
.navigation.pagination a.page-numbers:hover,
.navigation.pagination a.page-numbers:focus-visible {
	color: var(--stillnote-heading);
	text-decoration-color: currentColor;
}

.navigation.pagination ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 15px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.navigation.pagination a.page-numbers,
.navigation.pagination span.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	min-height: 28px;
}

.navigation.pagination span.page-numbers.current {
	color: var(--stillnote-heading);
	font-weight: 600;
	box-shadow: inset 0 -1px 0 currentColor;
}

/* Full-width cover navigation */
.site-content > .container-content.has-cover-grid,
.site-content > .container-content:has(.cover-grid-page) {
	max-width: none;
	padding: 0;
}

.cover-grid-page {
	width: 100%;
}

.cover-grid {
	display: grid;
	position: relative;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	align-items: start;
	gap: 0;
	width: 100%;
	max-width: none;
	margin: 0;
}

.has-js .cover-grid.is-masonry {
	display: block;
}

.cover-card {
	position: relative;
	align-self: start;
	min-width: 0;
	margin: 0;
	overflow: hidden;
	background: #e6e4e1;
	isolation: isolate;
}

.cover-grid.is-masonry > .cover-card {
	position: absolute;
	top: 0;
	left: 0;
}

.cover-grid.has-compact-covers > .cover-card,
.cover-grid:not(:has(> .cover-card:nth-child(5))) > .cover-card,
.cover-card.no-cover {
	aspect-ratio: 4 / 3;
}

.cover-grid.has-compact-covers > .cover-card:only-child,
.cover-grid:not(:has(> .cover-card:nth-child(2))) > .cover-card:only-child {
	aspect-ratio: 16 / 7;
}

.cover-card-link {
	position: relative;
	z-index: 2;
	display: block;
	width: 100%;
	color: #fff;
}

.cover-grid.has-compact-covers > .cover-card .cover-card-link,
.cover-grid:not(:has(> .cover-card:nth-child(5))) > .cover-card .cover-card-link,
.cover-card.no-cover .cover-card-link {
	height: 100%;
}

.cover-card-link:hover,
.cover-card-link:focus-visible {
	color: #fff;
}

.cover-card-link:focus-visible {
	outline: 2px solid #fff;
	outline-offset: -7px;
}

.cover-card-media,
img.cover-card-media {
	position: relative;
	z-index: 0;
	display: block;
	width: 100%;
	margin: 0;
	overflow: hidden;
}

.cover-card-media img {
	display: block;
	width: 100%;
	height: auto;
}

.cover-grid.has-compact-covers > .cover-card .cover-card-media,
.cover-grid:not(:has(> .cover-card:nth-child(5))) > .cover-card .cover-card-media,
.cover-card.no-cover .cover-card-media {
	position: absolute;
	inset: 0;
	height: 100%;
}

.cover-grid.has-compact-covers > .cover-card .cover-card-media img,
.cover-grid:not(:has(> .cover-card:nth-child(5))) > .cover-card .cover-card-media img,
.cover-card.no-cover .cover-card-media img,
img.cover-card-media {
	height: 100%;
	object-fit: cover;
}

.cover-card-media img,
img.cover-card-media {
	transition: transform 650ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.cover-card-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: clamp(24px, 4vw, 56px);
	background: rgba(15, 15, 15, 0.48);
	color: #fff;
	opacity: 1;
	text-align: center;
	transition: opacity 260ms ease, background-color 260ms ease;
	pointer-events: none;
}

.cover-card-title {
	max-width: 18ch;
	margin: 0;
	color: inherit;
	font-size: clamp(30px, 2.6vw, 56px);
	font-weight: 300;
	letter-spacing: 0.025em;
	line-height: 1.16;
	text-wrap: balance;
	word-break: keep-all;
	overflow-wrap: anywhere;
}

.cover-card-title::before {
	content: "/ ";
}

.cover-card-action {
	margin-top: 17px;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 1.5px;
	line-height: 18px;
	text-transform: lowercase;
}

.cover-card-action::before {
	margin-right: 0.55em;
	content: "\2014";
}

.cover-card-action::after {
	margin-left: 0.55em;
	content: "\2014";
}

.cover-card-link:focus-visible .cover-card-media img,
.cover-card-link:focus-visible img.cover-card-media {
	transform: scale(1.025);
}

.cover-card-link:focus-visible .cover-card-overlay {
	background: rgba(15, 15, 15, 0.7);
	opacity: 1;
}

.cover-card.no-cover,
.cover-card-media.no-cover,
.no-cover .cover-card-media {
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.14), transparent 52%),
		linear-gradient(135deg, #8b8984, #4f4e4b);
}

.cover-card.no-cover .cover-card-media img,
.cover-card-media.no-cover img,
.no-cover .cover-card-media img {
	display: none;
}

@media (hover: hover) and (pointer: fine) {
	.cover-card-overlay {
		background: rgba(15, 15, 15, 0);
		opacity: 0;
	}

	.cover-card-link:hover .cover-card-overlay,
	.cover-card-link:focus-visible .cover-card-overlay {
		background: rgba(15, 15, 15, 0.7);
		opacity: 1;
	}

	.cover-card-link:hover .cover-card-media img,
	.cover-card-link:hover img.cover-card-media {
		transform: scale(1.025);
	}
}

.cover-grid + .entry-content,
.cover-grid + .page-content,
.cover-grid-page > .entry-content,
.cover-grid-page > .page-content {
	width: 100%;
	max-width: 844px;
	margin: 64px auto 0;
	font-size: 15px;
	line-height: 1.8;
}

.cover-grid + .entry-content p,
.cover-grid + .page-content p,
.cover-grid-page > .entry-content p,
.cover-grid-page > .page-content p {
	margin-top: 0;
	margin-bottom: 1.25em;
}

.cover-grid-empty {
	max-width: 844px;
	margin: 0 auto;
	text-align: center;
}

@media (min-width: 641px) and (max-width: 1000px) {
	.cover-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cover-grid:not(.is-masonry):has(> .cover-card:nth-child(2n + 1):last-child) > .cover-card:last-child {
		grid-column: 1 / -1;
	}

	.cover-card-title {
		font-size: clamp(22px, 3.8vw, 34px);
	}
}

@media (min-width: 641px) and (max-width: 900px) {
	.category-stream-header,
	.search-results-header,
	.stream-tag-filter,
	.search-no-results,
	.stream-filter-empty,
	.blog-index > .posts-navigation,
	.blog-index .navigation.pagination,
	.search-results-page > .navigation,
	.search-results-page > .no-results {
		width: calc(100% - 190px);
		margin-left: 190px;
	}

	.post-list-item {
		grid-template-columns: 160px minmax(0, 1fr);
		column-gap: 30px;
	}

	.post-list-item .entry-main:has(.post-list-thumbnail) {
		grid-template-columns: minmax(0, 1fr) 150px;
		column-gap: 20px;
	}
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

@media (max-width: 640px) {
	body.menu-open {
		overflow: hidden;
	}

	.site-header {
		position: absolute;
		height: 136.2px;
	}

	.site-header-inner {
		display: block;
		padding: 0;
	}

	.admin-bar .site-header {
		top: 46px;
	}

	.mobile-menu-bar {
		position: absolute;
		top: 0;
		right: auto;
		left: 12px;
		display: flex;
		align-items: center;
		justify-content: flex-start;
		width: auto;
		height: 60px;
		text-align: left;
		z-index: 5;
	}

	.header-search {
		position: absolute;
		top: 8px;
		right: 12px;
		grid-column: auto;
		grid-row: auto;
		justify-self: auto;
		max-width: calc(100vw - 112px);
		margin: 0;
		z-index: 6;
	}

	.header-search-form {
		max-width: 100%;
		background: var(--stillnote-paper);
	}

	.header-search-field,
	.header-search-form:focus-within .header-search-field,
	.header-search-form.is-open .header-search-field,
	.header-search.is-open .header-search-field {
		width: min(260px, calc(100vw - 160px));
		max-width: calc(100vw - 160px);
		font-size: 16px;
	}

	.menu-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-width: 72px;
		min-height: 44px;
		padding: 10px 12px;
		font-size: 12px;
		font-weight: 500;
		letter-spacing: 1.2px;
		line-height: 18px;
		text-transform: uppercase;
	}

	.menu-toggle-icon {
		display: none;
	}

	.site-branding {
		position: absolute;
		top: 60px;
		right: 16px;
		left: 16px;
		grid-column: auto;
		grid-row: auto;
		justify-self: stretch;
		display: flex;
		align-items: center;
		justify-content: center;
		height: 76.2px;
		width: auto;
		max-width: none;
		min-width: 0;
		padding: 0;
		line-height: 28px;
		text-align: center;
		overflow: hidden;
	}

	.site-title {
		display: block;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		overflow: hidden;
		font-size: clamp(20px, 7vw, 28px);
		letter-spacing: clamp(1px, 0.5vw, 2px);
		line-height: 28px;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.site-branding .site-title > a {
		display: block;
		max-width: 100%;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.site-title-logo .custom-logo-link,
	.site-title-logo .custom-logo {
		max-width: 100%;
	}

	.site-title-logo .custom-logo {
		margin-right: auto;
		margin-left: auto;
	}

	#masthead.site-header .site-branding {
		right: 0;
		left: 0;
		justify-self: auto;
		width: 100%;
		max-width: 100%;
		padding-right: 16px;
		padding-left: 16px;
		text-align: center;
	}

	#masthead.site-header .site-branding .site-title,
	#masthead.site-header .site-branding .site-title > a {
		width: 100%;
		margin-right: auto;
		margin-left: auto;
		text-align: center;
	}

	#masthead.site-header .site-branding .custom-logo-link {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		margin-right: auto;
		margin-left: auto;
		text-align: center;
	}

	#masthead.site-header .site-branding .custom-logo {
		margin-right: auto;
		margin-left: auto;
		object-position: center center;
	}

	.primary-navigation {
		position: absolute;
		top: 136.2px;
		right: 0;
		left: 0;
		grid-column: auto;
		grid-row: auto;
		display: none;
		max-height: calc(100vh - 136.2px);
		padding: 18px 20px 22px;
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
		border-top: 1px solid #ededed;
		background: var(--stillnote-paper);
		box-shadow: 0 14px 22px rgba(0, 0, 0, 0.06);
		font-size: 13px;
		line-height: 24px;
		text-align: center;
		z-index: 5;
	}

	.primary-navigation.is-open,
	.site-header.is-menu-open .primary-navigation {
		display: block;
	}

	.admin-bar .primary-navigation {
		max-height: calc(100vh - 182.2px);
	}

	.primary-navigation ul {
		display: block;
	}

	.primary-navigation li {
		margin: 0;
	}

	.primary-navigation a {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 44px;
		padding: 10px 8px;
	}

	.site-content {
		min-height: calc(100vh - 136.2px);
		margin-top: 136.2px;
	}

	.site-content > .container-content,
	.site-content.container-content {
		padding: 45px 20px 23px;
	}

	.site-content > .container-content.has-cover-grid,
	.site-content > .container-content:has(.cover-grid-page) {
		padding: 0;
	}

	.cover-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}

	.cover-card-overlay {
		padding: 26px 22px;
	}

	.cover-card-title {
		font-size: clamp(27px, 9vw, 38px);
		line-height: 1.18;
	}

	.cover-grid + .entry-content,
	.cover-grid + .page-content,
	.cover-grid-page > .entry-content,
	.cover-grid-page > .page-content {
		width: calc(100% - 40px);
		margin-top: 44px;
		line-height: 1.75;
	}

	.category-stream-header,
	.search-results-header {
		width: 100%;
		max-width: none;
		margin: 0 0 30px;
	}

	.category-stream-title {
		margin-bottom: 12px;
		font-size: 36px;
	}

	.search-results-title {
		font-size: clamp(28px, 9vw, 34px);
		line-height: 1.28;
	}

	.stream-tag-filter {
		width: auto;
		max-width: none;
		margin: 0 -20px 12px;
		padding: 0 20px 10px;
		overflow-x: auto;
		overflow-y: hidden;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.stream-tag-filter::-webkit-scrollbar {
		display: none;
	}

	.stream-tag-filter-list {
		width: max-content;
		min-width: 100%;
		flex-wrap: nowrap;
	}

	.stream-tag-filter-link {
		min-height: 36px;
		padding-right: 13px;
		padding-left: 13px;
	}

	.minimal-post {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"main"
			"sidebar";
		column-gap: 0;
	}

	.entry-main {
		margin-bottom: 25px;
	}

	.entry-sidebar {
		position: relative;
		padding: 15px 0;
	}

	.entry-actions {
		align-items: center;
		margin-top: 5px;
	}

	.entry-actions .like-button,
	.entry-actions .share-button {
		align-items: center;
		min-width: 44px;
		min-height: 44px;
		padding: 13px 4px;
		gap: 5px;
		font-size: 15px;
		line-height: 18px;
	}

	.entry-actions .like-button::before,
	.entry-actions .share-button::before {
		flex: 0 0 18px;
		width: 18px;
		height: 18px;
		font-size: 18px;
		line-height: 18px;
	}

	.entry-actions .share-button.is-copy-success::before {
		content: "\2713";
		font-size: 16px;
		font-weight: 700;
	}

	.entry-actions .share-button.has-copy-error::before {
		content: "!";
		font-size: 15px;
		font-weight: 700;
	}

	.post-list-item {
		padding-top: 34px;
		padding-bottom: 34px;
	}

	.post-list-item .entry-main,
	.post-list-item .entry-main:has(.post-list-thumbnail) {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"list-title"
			"list-thumbnail"
			"list-summary"
			"list-links";
		column-gap: 0;
		margin-bottom: 0;
	}

	.post-list-item .entry-title {
		margin-bottom: 14px;
		font-size: clamp(27px, 8.2vw, 32px);
		line-height: 1.28;
	}

	.post-list-thumbnail {
		margin: 3px 0 20px;
		aspect-ratio: 16 / 10;
	}

	.post-list-summary {
		margin-bottom: 18px;
		line-height: 25px;
	}

	.post-list-links {
		align-items: flex-start;
		gap: 10px 16px;
	}

	.post-list-tags {
		flex-basis: 100%;
	}

	.post-list-read-more {
		margin-left: 0;
	}

	.post-list-item .entry-sidebar {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		gap: 4px 16px;
		padding: 17px 0 0;
	}

	.post-list-item .entry-actions {
		margin-top: 0;
	}

	.search-no-results,
	.stream-filter-empty,
	.blog-index > .posts-navigation,
	.blog-index .navigation.pagination,
	.search-results-page > .navigation,
	.search-results-page > .no-results {
		width: 100%;
		max-width: none;
		margin-left: 0;
	}

	.posts-navigation a,
	.navigation.pagination a.page-numbers,
	.navigation.pagination span.page-numbers {
		min-height: 44px;
	}

	.posts-navigation a {
		display: inline-flex;
		align-items: center;
	}

	.post-navigation {
		margin: 20px 0 100px;
	}

	.single-back-link {
		margin-left: 0;
	}

	.navigation.pagination {
		margin: 0 0 100px;
	}

	.site-footer .container-content {
		padding: 110px 20px 190px;
	}

	.social-links {
		gap: 26px;
	}
}

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