.mosh-hub {
	--hub-amber: var(--mosh-gold);
	--hub-text: #f4f2eb;
	--hub-muted: #b6b3ab;
	--hub-panel: #11100e;
	--hub-outline: #2f2a22;
	--hub-photo: #0a0908;
	color: var(--hub-text);
}

.mosh-hub__inner {
	width: min(100% - 40px, 760px);
	margin-inline: auto;
}

.mosh-hub .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.mosh-hub--archive,
.mosh-hub--single {
	min-height: min(70svh, 720px);
	padding: clamp(125px, 13vw, 174px) 0 90px;
	background: radial-gradient(ellipse 52rem 23rem at 52% 38px, #1d170c, transparent 100%), #090908;
}

.mosh-hub--home {
	padding: clamp(54px, 8vw, 105px) 0;
	border-block: 1px solid var(--hub-outline);
	background: #090908;
}

.mosh-hub__intro {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 18px 22px;
	padding-bottom: 30px;
	margin-bottom: 30px;
	border-bottom: 1px solid #625033;
}

.mosh-hub__intro h1,
.mosh-hub__home-intro h2 {
	margin: 0;
	font-size: clamp(2.35rem, 7vw, 5.45rem);
	line-height: .96;
	letter-spacing: -.065em;
	font-weight: 850;
	text-transform: uppercase;
}

.mosh-hub__intro h1 span,
.mosh-hub__home-intro h2 span {
	color: var(--hub-amber);
}

.mosh-hub__intro p {
	margin: .7rem 0 0;
	color: var(--hub-muted);
	line-height: 1.45;
}

.mosh-hub__home-intro {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 12px 20px;
	margin-bottom: 28px;
}

.mosh-hub__home-intro h2 {
	font-size: clamp(2rem, 5vw, 3.65rem);
}

.mosh-hub__telegram,
.mosh-hub__back {
	display: inline-flex;
	align-items: center;
	gap: .55em;
	width: max-content;
	min-height: 44px;
	padding-inline: 14px;
	border: 1px solid #66522f;
	border-radius: 6px;
	color: var(--hub-amber);
	font-size: .82rem;
	font-weight: 700;
}

.mosh-hub__telegram:hover,
.mosh-hub__back:hover {
	background: var(--hub-amber);
	color: #110d06;
}

.mosh-hub__back {
	margin-bottom: 24px;
}

.mosh-hub__timeline {
	display: grid;
	gap: 18px;
}

.mosh-hub__post {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: start;
	gap: 11px;
}

.mosh-hub__avatar {
	width: 40px;
	aspect-ratio: 1;
	display: grid;
	place-items: center;
	overflow: hidden;
	border: 1px solid #745b32;
	border-radius: 50%;
	background: #1d170d;
}

.mosh-hub__avatar--large {
	width: clamp(48px, 8vw, 76px);
}

.mosh-hub__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mosh-hub__bubble {
	padding: 14px 18px 16px;
	border: 1px solid var(--hub-outline);
	border-radius: 4px 15px 15px 15px;
	background: var(--hub-panel);
}

.mosh-hub__byline {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	flex-wrap: wrap;
	column-gap: 16px;
	row-gap: 2px;
	margin-bottom: 3px;
}

.mosh-hub__byline strong {
	color: var(--hub-amber);
	font-size: .875rem;
	font-weight: 750;
}

.mosh-hub__byline a,
.mosh-hub__byline > time {
	color: var(--hub-muted);
	font-size: .75rem;
	font-variant-numeric: tabular-nums;
}

.mosh-hub__byline a {
	display: inline-flex;
	align-items: center;
	gap: .55em;
	min-height: 28px;
}

.mosh-hub__byline a:hover {
	color: var(--hub-amber);
}

.mosh-hub__body {
	font-size: clamp(.94rem, 2vw, 1.035rem);
	line-height: 1.6;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}

.mosh-hub__body a,
.mosh-hub__source {
	color: var(--hub-amber);
	text-decoration: underline;
	text-underline-offset: .2em;
}

.mosh-hub__source {
	display: inline-flex;
	align-items: center;
	gap: .45em;
	min-height: 28px;
	margin-top: 6px;
	font-size: .79rem;
}

.mosh-hub__photo {
	margin: 12px 0 0;
	overflow: hidden;
	border-radius: 8px;
	background: var(--hub-photo);
}

.mosh-hub__photo img {
	display: block;
	width: 100%;
	height: auto;
	max-height: min(490px, 62svh);
	object-fit: contain;
}

.mosh-hub__empty {
	color: var(--hub-muted);
}

.mosh-hub .pagination {
	margin-top: 26px;
}

.mosh-hub .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.mosh-hub .page-numbers:not(.dots) {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	min-height: 44px;
	padding-inline: 10px;
	border: 1px solid var(--hub-outline);
	border-radius: 5px;
}

.mosh-hub .page-numbers.current,
.mosh-hub a.page-numbers:hover {
	border-color: var(--hub-amber);
	color: var(--hub-amber);
}

.mosh-hub .page-numbers.dots {
	align-self: center;
}

@media (max-width: 620px) {
	.mosh-hub__inner {
		width: calc(100% - 30px);
	}

	.mosh-hub__intro {
		grid-template-columns: auto minmax(0, 1fr);
		gap: 15px;
		padding-bottom: 21px;
		margin-bottom: 20px;
	}

	.mosh-hub__intro p {
		font-size: .86rem;
	}

	.mosh-hub__intro .mosh-hub__telegram {
		grid-column: 2;
	}

	.mosh-hub__post {
		gap: 8px;
	}

	.mosh-hub__post .mosh-hub__avatar {
		width: 34px;
	}

	.mosh-hub__bubble {
		padding: 10px 12px 12px;
	}
}
