.scs-home,
.scs-chapter-page,
.scs-serial-page {
	--scs-ink: #282523;
	--scs-muted: #77716b;
	--scs-paper: #fff;
	--scs-soft: #f5f3ef;
	--scs-line: #ddd9d2;
	--scs-link: #654638;
	--scs-link-hover: #9d3326;
	box-sizing: border-box;
	color: var(--scs-ink);
	font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
	letter-spacing: 0;
}

.scs-home *,
.scs-chapter-page *,
.scs-serial-page * {
	box-sizing: border-box;
}

.scs-chapter-page h1 {
	margin-top: 0;
	letter-spacing: 0;
}

body.home {
	margin: 0;
	background: #3e3d3b;
}

body.home .wp-site-blocks {
	padding: 0;
}

body.home .wp-site-blocks > header,
body.home .wp-block-post-title,
body.home footer.wp-block-template-part {
	display: none;
}

body.home main,
body.home main > .wp-block-group,
body.home main .wp-block-group.alignfull,
body.home .wp-block-post-content {
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.scs-home {
	display: block;
	width: min(760px, calc(100% - 32px));
	margin: 0 auto;
	padding: 12px 0 56px;
}

.scs-archive-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 36px;
	gap: 18px;
	padding: 0 8px;
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
}

.scs-archive-nav > div {
	display: flex;
	align-items: center;
	gap: 13px;
}

.scs-archive-nav a {
	color: #fff;
	text-decoration: none;
}

.scs-archive-nav a:hover,
.scs-archive-nav a:focus-visible {
	color: #ffdf66;
}

@media (min-width: 561px) {
	.scs-archive-nav a {
		padding: 8px 10px;
		border: 1px solid #5a5550;
		border-radius: 3px;
		background: #24211f;
	}

	.scs-archive-nav a:hover,
	.scs-archive-nav a:focus-visible {
		border-color: #8b8279;
		background: #151312;
	}
}

.scs-archive-brand {
	letter-spacing: .05em;
}

.scs-archive-shell {
	border: 3px solid #b9b7b2;
	background: #fdfdfc;
	box-shadow: 0 16px 44px rgba(0, 0, 0, .28);
}

.scs-archive-header {
	padding: 38px 38px 30px;
	border-bottom: 1px solid #ccc9c3;
	text-align: center;
}

.scs-archive-header p,
.scs-archive-header h1,
.scs-archive-header span {
	margin: 0;
}

.scs-archive-header p {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .08em;
}

.scs-archive-header h1 {
	margin: 8px 0 10px;
	font: 700 clamp(31px, 6vw, 48px)/1 Georgia, "Times New Roman", serif;
}

.scs-archive-header span {
	color: var(--scs-muted);
	font-size: 14px;
}

.scs-archive-about {
	padding: 18px 38px;
	border-bottom: 1px solid #ccc9c3;
	background: #f3f1ed;
	font-size: 13px;
	line-height: 1.55;
}

.scs-archive-about strong {
	display: block;
	margin-bottom: 4px;
	font-size: 10px;
	letter-spacing: .08em;
}

.scs-archive-about p {
	margin: 0;
}

.scs-archive-list {
	padding: 0 38px;
}

.scs-archive-item {
	display: grid;
	grid-template-columns: 144px minmax(0, 1fr);
	align-items: center;
	gap: 26px;
	min-height: 196px;
	padding: 26px 0;
	border-bottom: 1px solid #d8d5cf;
}

.scs-archive-thumb {
	display: grid;
	place-items: center;
	width: 144px;
	aspect-ratio: 1;
	overflow: hidden;
	border: 2px solid #3a3734;
	background: #ebe9e5;
	color: #2d2926;
	font-size: 12px;
	font-weight: 800;
	text-align: center;
	text-decoration: none;
}

.scs-archive-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.scs-archive-item-body {
	min-width: 0;
	text-align: center;
}

.scs-archive-item h2 {
	margin: 0 0 9px;
	font: 700 24px/1.15 Georgia, "Times New Roman", serif;
	text-transform: uppercase;
}

.scs-archive-item h2 a {
	color: #554038;
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

.scs-archive-item h2 a:hover,
.scs-archive-item h2 a:focus-visible,
.scs-archive-actions a:hover,
.scs-archive-actions a:focus-visible {
	color: var(--scs-link-hover);
}

.scs-archive-excerpt,
.scs-archive-item-body > p:not(.scs-archive-status) {
	font-size: 14px;
	line-height: 1.45;
}

.scs-archive-excerpt p,
.scs-archive-item-body > p {
	margin: 0;
}

.scs-archive-status {
	margin: 8px 0 10px !important;
	font-size: 11px;
	font-weight: 700;
}

.scs-archive-status strong {
	color: #6b221c;
}

.scs-archive-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0;
	font-size: 10px;
	font-weight: 800;
}

.scs-archive-actions a {
	color: #554038;
	text-underline-offset: 2px;
}

.scs-archive-actions a + a::before {
	margin: 0 7px;
	color: #77716b;
	content: "|";
}

.scs-archive-item-future .scs-archive-thumb {
	border-style: dashed;
	background: #2d2b29;
	color: #f6f3ed;
	font-size: 18px;
	letter-spacing: .08em;
}

.scs-archive-item-future h2 a {
	color: #746c66;
}

.scs-archive-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 18px 38px;
	background: #2d2b29;
	color: #e9e4dc;
	font-size: 10px;
}

.scs-archive-footer a {
	color: #fff;
	font-weight: 800;
	text-decoration: none;
}

body.scs-document {
	min-width: 0;
	margin: 0;
	background: #171313;
}

.scs-document #wpadminbar {
	position: fixed;
}

.scs-chapter-page {
	min-height: 100vh;
	padding: 52px 18px 80px;
	background-color: var(--scs-chapter-bg-color, #171313);
	background-image:
		linear-gradient(rgba(12, 10, 10, .3), rgba(12, 10, 10, .48)),
		var(--scs-chapter-bg-image, none);
	background-repeat: no-repeat;
	background-position: center, var(--scs-chapter-bg-position, center top);
	background-size: cover;
	background-attachment: fixed;
}

.scs-chapter-shell {
	width: min(100%, 1000px);
	margin: 0 auto;
	background: var(--scs-paper);
	box-shadow: 0 18px 60px rgba(0, 0, 0, .26);
}

.scs-brandbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 52px;
	padding: 0 24px;
	border-bottom: 1px solid var(--scs-line);
	background: #fbfaf8;
	font-size: 13px;
}

.scs-brandbar a {
	color: var(--scs-ink);
	text-decoration: none;
}

.scs-brand {
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.scs-brand-story {
	color: var(--scs-muted) !important;
}

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

.scs-header-art {
	margin: 0;
	padding: 16px 16px 0;
	background: var(--scs-paper);
}

.scs-header-art img {
	display: block;
	width: 100%;
	height: clamp(220px, 31vw, 340px);
	object-fit: cover;
	object-position: center;
	background: #201d1a;
}

.scs-serial-feature {
	display: grid;
	place-items: center;
	min-height: 420px;
	margin: 0;
	padding: 28px;
	background: #2e2925;
}

.scs-serial-feature img {
	display: block;
	width: auto;
	max-width: 100%;
	height: clamp(360px, 52vw, 590px);
	object-fit: contain;
	box-shadow: 0 9px 28px rgba(0, 0, 0, .32);
}

.scs-serial-reader-page .scs-chapter-layout {
	padding-top: 34px;
}

.scs-serial-description {
	margin-top: 16px;
	color: #4f4a45;
	font-size: 16px;
	line-height: 1.65;
}

.scs-serial-description > :first-child {
	margin-top: 0;
}

.scs-serial-description > :last-child {
	margin-bottom: 0;
}

.scs-serial-reading-nav {
	margin-top: 28px;
}

.scs-serial-toc-section {
	margin-top: 42px;
}

.scs-serial-toc-heading {
	margin-bottom: 8px;
	padding-bottom: 17px;
	border-bottom: 4px solid #2e2925;
}

.scs-serial-toc-heading p,
.scs-serial-toc-heading h2 {
	margin: 0;
}

.scs-serial-toc-heading p {
	color: var(--scs-muted);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .07em;
}

.scs-serial-toc-heading h2 {
	margin-top: 4px;
	font: 600 28px/1.15 Georgia, "Times New Roman", serif;
}

.scs-serial-toc {
	margin: 0;
	padding: 0;
	list-style: none;
}

.scs-serial-toc li {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	gap: 12px;
	align-items: baseline;
	padding: 14px 2px;
	border-bottom: 1px solid var(--scs-line);
}

.scs-serial-toc li > span {
	color: #9a938b;
	font-size: 11px;
	font-weight: 800;
}

.scs-serial-toc a {
	color: var(--scs-link);
	font: 600 17px/1.35 Georgia, "Times New Roman", serif;
	text-decoration: none;
}

.scs-serial-toc a:hover,
.scs-serial-toc a:focus-visible {
	color: var(--scs-link-hover);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.scs-chapter-layout {
	display: grid;
	grid-template-columns: minmax(0, 650px) minmax(190px, 230px);
	gap: 38px;
	align-items: start;
	padding: 28px 40px 64px;
}

.scs-reader {
	min-width: 0;
}

.scs-chapter-header {
	margin-bottom: 20px;
}

.scs-chapter-page h1 {
	margin: 0;
	color: #171513;
	font: 600 clamp(27px, 4vw, 36px)/1.18 Georgia, "Times New Roman", serif;
}

.scs-chapter-meta {
	margin: 0 0 7px;
	color: var(--scs-muted);
	font: 700 11px/1.4 "Open Sans", "Helvetica Neue", Arial, sans-serif;
	text-transform: uppercase;
}

.scs-chapter-meta a {
	color: inherit;
	text-decoration: none;
}

.scs-chapter-nav {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: 12px;
	align-items: center;
	margin: 24px 0;
	padding: 13px 0;
	border-top: 1px solid var(--scs-line);
	border-bottom: 1px solid var(--scs-line);
	font-size: 13px;
	font-weight: 700;
}

.scs-chapter-nav a {
	color: var(--scs-link);
	text-decoration: none;
}

.scs-chapter-nav a:hover {
	color: var(--scs-link-hover);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.scs-chapter-nav a:nth-child(2) {
	color: var(--scs-muted);
	font-weight: 500;
}

.scs-chapter-nav a:nth-child(3) {
	justify-self: end;
	text-align: right;
}

.scs-chapter-nav a:first-child::before {
	content: "← ";
}

.scs-chapter-nav a:nth-child(3)::after {
	content: " →";
}

.scs-chapter-text {
	color: #3f3c39;
	font: 16px/1.72 "Open Sans", "Helvetica Neue", Arial, sans-serif;
}

.scs-chapter-text p {
	margin: 0 0 1.35em;
}

.scs-chapter-text p:first-child {
	font-size: 17px;
	font-style: italic;
}

.scs-chapter-text img {
	max-width: 100%;
	height: auto;
}

.scs-side {
	position: sticky;
	top: 26px;
}

.scs-side-card {
	display: grid;
	background: #f7f7f4;
	border-top: 3px solid #2e2925;
}

.scs-side-card::before {
	content: "Навигация";
	padding: 17px 16px 12px;
	color: #4f4a45;
	font: 600 17px/1.25 Georgia, "Times New Roman", serif;
}

.scs-side-card > a {
	display: block;
	margin: 0 16px;
	padding: 11px 0;
	border-top: 1px solid #deddd8;
	color: #5d554f;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.35;
	text-decoration: none;
}

.scs-side-card > a:hover {
	color: var(--scs-link-hover);
}

.scs-side-custom {
	margin: 5px 16px 15px;
	padding-top: 12px;
	border-top: 1px solid #deddd8;
	color: var(--scs-muted);
	font-size: 13px;
	line-height: 1.55;
}

.scs-side-custom > :first-child {
	margin-top: 0;
}

.scs-side-custom > :last-child {
	margin-bottom: 0;
}

.scs-comments {
	margin-top: 46px;
	padding-top: 30px;
	border-top: 4px solid #2e2925;
}

.scs-comments .comments-title,
.scs-comments .comment-reply-title {
	margin: 0 0 22px;
	font: 600 25px/1.25 Georgia, "Times New Roman", serif;
}

.scs-comments .comment-list {
	margin: 0 0 34px;
	padding: 0;
	list-style: none;
}

.scs-comments .comment-list .children {
	margin-left: 28px;
	padding-left: 0;
	list-style: none;
}

.scs-comments .comment-body {
	margin-bottom: 22px;
	padding: 18px 0;
	border-bottom: 1px solid var(--scs-line);
}

.scs-comments .comment-meta {
	margin-bottom: 10px;
	font-size: 12px;
}

.scs-comments input:not([type="submit"]):not([type="checkbox"]):not([type="hidden"]),
.scs-comments textarea {
	width: 100%;
	max-width: 100%;
	padding: 10px 12px;
	border: 1px solid #bbb7b0;
	border-radius: 0;
	background: #fff;
	color: var(--scs-ink);
	font: inherit;
}

.scs-comments input[type="submit"] {
	padding: 11px 18px;
	border: 0;
	border-radius: 0;
	background: #2e2925;
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

.scs-mobile-side {
	display: none;
	margin-top: 42px;
}

.scs-serial-page {
	width: min(1040px, calc(100% - 36px));
	margin: 0 auto;
	padding: 44px 0 70px;
}

@media (max-width: 820px) {
	.scs-chapter-page {
		padding: 0;
		background-attachment: scroll;
	}

	.scs-chapter-shell {
		width: 100%;
		box-shadow: none;
	}

	.scs-brandbar {
		padding: 0 20px;
	}

	.scs-header-art {
		padding: 0;
	}

	.scs-header-art img {
		height: clamp(200px, 52vw, 330px);
	}

	.scs-serial-feature {
		min-height: 0;
		padding: 20px;
	}

	.scs-serial-feature img {
		height: clamp(320px, 80vw, 560px);
	}

	.scs-chapter-layout {
		display: block;
		padding: 28px clamp(20px, 6vw, 46px) 52px;
	}

	.scs-side {
		display: none;
	}

	.scs-mobile-menu {
		display: block;
		border-bottom: 1px solid var(--scs-line);
		background: #f1efeb;
	}

	.scs-mobile-menu summary {
		display: flex;
		align-items: center;
		justify-content: space-between;
		min-height: 48px;
		padding: 0 20px;
		background: #2e2925;
		color: #fff;
		font-size: 12px;
		font-weight: 800;
		text-transform: uppercase;
		cursor: pointer;
		list-style: none;
	}

	.scs-mobile-menu summary::-webkit-details-marker {
		display: none;
	}

	.scs-mobile-menu summary:focus-visible {
		outline: 3px solid #ffdf66;
		outline-offset: -3px;
	}

	.scs-mobile-menu-icon {
		position: relative;
		width: 16px;
		height: 16px;
	}

	.scs-mobile-menu-icon::before,
	.scs-mobile-menu-icon::after {
		position: absolute;
		top: 7px;
		left: 2px;
		width: 12px;
		height: 2px;
		background: currentColor;
		content: "";
	}

	.scs-mobile-menu-icon::after {
		transform: rotate(90deg);
		transition: transform .18s ease;
	}

	.scs-mobile-menu[open] .scs-mobile-menu-icon::after {
		transform: rotate(0);
	}

	.scs-mobile-menu-panel {
		padding: 0 20px 18px;
	}

	.scs-mobile-menu-panel .scs-side-card {
		border-top: 0;
		background: #f1efeb;
	}

	.scs-mobile-menu-panel .scs-side-card::before {
		display: none;
	}

	.scs-mobile-menu-panel .scs-side-card > a {
		margin: 0;
		padding: 13px 2px;
	}

	.scs-mobile-menu-panel .scs-side-custom {
		margin-right: 0;
		margin-left: 0;
	}
}

@media (max-width: 560px) {
	body.home {
		background: #fdfdfc;
	}

	.scs-home {
		width: 100%;
		padding: 0;
	}

	.scs-archive-nav {
		overflow-x: auto;
		min-height: 44px;
		padding: 0 14px;
		background: #2d2b29;
		white-space: nowrap;
	}

	.scs-archive-nav > div {
		gap: 11px;
	}

	.scs-archive-shell {
		border: 0;
		box-shadow: none;
	}

	.scs-archive-header {
		padding: 32px 20px 25px;
	}

	.scs-archive-header h1 {
		font-size: 31px;
	}

	.scs-archive-about {
		padding: 16px 20px;
	}

	.scs-archive-list {
		padding: 0 16px;
	}

	.scs-archive-item {
		grid-template-columns: 94px minmax(0, 1fr);
		gap: 14px;
		min-height: 0;
		padding: 22px 0;
	}

	.scs-archive-thumb {
		width: 94px;
	}

	.scs-archive-item h2 {
		font-size: 18px;
	}

	.scs-archive-excerpt,
	.scs-archive-item-body > p:not(.scs-archive-status) {
		font-size: 12px;
	}

	.scs-archive-status {
		font-size: 9px;
	}

	.scs-archive-actions {
		font-size: 9px;
	}

	.scs-archive-actions a + a::before {
		margin: 0 4px;
	}

	.scs-archive-footer {
		align-items: flex-start;
		padding: 16px 20px;
	}

	.scs-serial-feature {
		padding: 14px;
	}

	.scs-serial-feature img {
		height: min(116vw, 520px);
	}

	.scs-serial-card {
		grid-template-columns: 1fr;
	}

	.scs-serial-poster {
		min-height: 0;
		aspect-ratio: 4 / 5;
	}

	.scs-brandbar {
		min-height: 46px;
	}

	.scs-brand-story {
		display: none;
	}

	.scs-header-art img {
		height: 54vw;
		min-height: 180px;
		max-height: 270px;
	}

	.scs-chapter-layout {
		padding: 24px 18px 44px;
	}

	.scs-chapter-page h1 {
		font-size: 29px;
		overflow-wrap: anywhere;
	}

	.scs-chapter-nav {
		grid-template-columns: 1fr 1fr;
		font-size: 12px;
	}

	.scs-chapter-nav a:nth-child(2) {
		display: none;
	}

	.scs-chapter-nav a:nth-child(3) {
		grid-column: 2;
	}

	.scs-chapter-text {
		font-size: 16px;
		line-height: 1.68;
	}

	.scs-comments .comment-list .children {
		margin-left: 14px;
	}
}

/* Keep the bbPress shortcode page consistent with the serial reader. */
.page-id-248 .wp-block-post-title,
.page-id-248 .wp-block-post-content {
	width: min(920px, calc(100% - 40px));
	margin-right: auto;
	margin-left: auto;
}

.page-id-248 .wp-block-post-title {
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(34px, 5vw, 58px);
	font-weight: 500;
}

.page-id-248 .wp-block-post-content > p:first-child {
	margin-bottom: 28px;
	padding: 14px 18px;
	border-left: 4px solid #654638;
	background: #f5f3ef;
}

.page-id-248 #bbpress-forums {
	font-size: 16px;
	color: #282523;
}

.page-id-248 #bbpress-forums .bbp-breadcrumb {
	display: none;
}

.page-id-248 #bbpress-forums ul.bbp-forums,
.page-id-248 #bbpress-forums ul.bbp-topics,
.page-id-248 #bbpress-forums ul.bbp-replies,
.page-id-248 #bbpress-forums fieldset.bbp-form {
	border: 1px solid #ddd9d2;
	border-radius: 4px;
}

.page-id-248 #bbpress-forums li.bbp-header,
.page-id-248 #bbpress-forums li.bbp-footer {
	background: #f5f3ef;
	border-color: #ddd9d2;
}

.page-id-248 #bbpress-forums .bbp-template-notice {
	border: 0;
	border-left: 4px solid #654638;
	border-radius: 0;
	background: #f5f3ef;
	color: #282523;
}

.page-id-248 #bbpress-forums input[type="text"],
.page-id-248 #bbpress-forums textarea {
	width: 100%;
	border: 1px solid #bbb5ad;
	border-radius: 3px;
	background: #fff;
	color: #282523;
}

.page-id-248 #bbpress-forums button,
.page-id-248 #bbpress-forums input[type="submit"] {
	padding: 10px 18px;
	border: 0;
	border-radius: 3px;
	background: #282523;
	color: #fff;
	cursor: pointer;
}

.home footer.wp-block-template-part,
.page-id-248 footer.wp-block-template-part {
	display: none;
}

@media (max-width: 560px) {
	.page-id-248 .wp-block-post-title,
	.page-id-248 .wp-block-post-content {
		width: min(100% - 28px, 920px);
	}

	.page-id-248 #bbpress-forums {
		font-size: 15px;
	}
}
