.tps-oec {
	--tps-oec-ink: #111111;
	--tps-oec-paper: #ffffff;
	--tps-oec-muted: #f4f4f4;
	--tps-oec-red: #e10600;
	--tps-oec-line: rgba(17, 17, 17, 0.16);
	--tps-oec-soft: rgba(17, 17, 17, 0.72);
	--tps-oec-shadow: rgba(0, 0, 0, 0.14);

	width: 100%;
	color: var(--tps-oec-ink);
	font-family: "Work Sans", Sans-serif;
}

.tps-oec * {
	box-sizing: border-box;
}

.tps-oec__wrap {
	width: min(1120px, 100%);
	margin: 0 auto;
	padding: 0;
}

.tps-oec-editor {
	position: relative;
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 34px;
	align-items: center;
	margin-bottom: 42px;
	padding: 34px 38px;
	overflow: hidden;
	border: 2px solid var(--tps-oec-ink);
	background: var(--tps-oec-paper);
	box-shadow: 8px 8px 0 var(--tps-oec-ink);
}

.tps-oec-editor::before {
	content: "";
	position: absolute;
	inset: 16px;
	z-index: 0;
	background: repeating-linear-gradient(
		-12deg,
		transparent 0,
		transparent 12px,
		var(--tps-oec-muted) 12px,
		var(--tps-oec-muted) 13px
	);
	opacity: 0.9;
}

.tps-oec-editor > * {
	position: relative;
	z-index: 1;
}

.tps-oec-editor--compact {
	margin: 0 0 18px;
	grid-template-columns: 140px minmax(0, 1fr);
	gap: 24px;
	padding: 22px;
	box-shadow: 5px 5px 0 var(--tps-oec-ink);
}

.tps-oec-editor__image {
	aspect-ratio: 1;
	border: 2px solid var(--tps-oec-ink);
	background: var(--tps-oec-muted);
	box-shadow: 5px 5px 0 var(--tps-oec-ink);
}

.tps-oec-editor__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tps-oec-post__date {
	width: fit-content;
	margin: 0 0 14px;
	padding: 7px 10px;
	border: 2px solid var(--tps-oec-ink);
	background: var(--tps-oec-ink);
	color: var(--tps-oec-paper);
	font-family: "Arial Narrow", "Roboto Condensed", Impact, Arial, sans-serif;
	font-size: 12px;
	font-style: italic;
	font-weight: 900;
	line-height: 1;
	letter-spacing: 0;
	text-transform: uppercase;
	transform: skew(-6deg);
}

.tps-oec-editor__name {
	margin: 0;
	color: var(--tps-oec-ink);
	font-family: "Arial Narrow", "Roboto Condensed", Impact, Arial, sans-serif;
	font-size: clamp(40px, 5.2vw, 68px);
	font-style: italic;
	font-weight: 900;
	line-height: 0.95;
	letter-spacing: 0;
	text-transform: uppercase;
	text-shadow: 0.045em 0.045em 0 var(--tps-oec-shadow);
	transform: skew(-6deg);
}

.tps-oec-editor__bio {
	max-width: 880px;
	margin: 20px 0 0;
	padding: 2px 0 2px 22px;
	border-left: 5px solid var(--tps-oec-red);
	color: var(--tps-oec-ink);
	font-size: clamp(15px, 1.5vw, 19px);
	font-weight: 400;
	line-height: 1.45;
}

.tps-oec__posts {
	display: grid;
	gap: 44px;
}

.tps-oec-post {
	border: 2px solid var(--tps-oec-ink);
	background: var(--tps-oec-paper);
	box-shadow: 6px 6px 0 var(--tps-oec-ink);
}

.tps-oec-post__media {
	margin: 0;
	border-bottom: 2px solid var(--tps-oec-ink);
	background: var(--tps-oec-muted);
}

.tps-oec-post__image {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.tps-oec-post__body {
	padding: 28px;
}

.tps-oec-post__date {
	background: var(--tps-oec-muted);
	color: var(--tps-oec-ink);
}

.tps-oec-post__title {
	margin: 0 0 22px;
	color: var(--tps-oec-ink);
	font-family: "Arial Narrow", "Roboto Condensed", Impact, Arial, sans-serif;
	font-size: 24px;
	font-style: italic;
	font-weight: 900;
	line-height: 0.98;
	letter-spacing: 0;
	text-transform: uppercase;
	transform: skew(-6deg);
}

.tps-oec-post__title a {
	color: inherit;
	text-decoration: none;
}

.tps-oec-post__title a:hover,
.tps-oec-post__title a:focus {
	color: var(--tps-oec-red);
}

.tps-oec-post__content {
	color: var(--tps-oec-ink);
	font-family: "Roboto Slab", sans-serif;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.72;
}

.tps-oec-post__content > *:first-child {
	margin-top: 0;
}

.tps-oec-post__content > *:last-child {
	margin-bottom: 0;
}

.tps-oec-post__content img {
	max-width: 100%;
	height: auto;
}

.tps-oec-post__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 26px;
	padding-top: 20px;
	border-top: 1px solid var(--tps-oec-line);
}

.tps-oec-post__tag {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 7px 10px;
	border: 2px solid var(--tps-oec-ink);
	background: var(--tps-oec-paper);
	color: var(--tps-oec-ink);
	font-size: 12px;
	font-weight: 900;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	box-shadow: 3px 3px 0 var(--tps-oec-ink);
	transition: background 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.tps-oec-post__tag:hover,
.tps-oec-post__tag:focus {
	background: var(--tps-oec-red);
	color: var(--tps-oec-paper);
	transform: translate(2px, 2px);
	box-shadow: 1px 1px 0 var(--tps-oec-ink);
}

.tps-oec-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 38px;
	font-family: Arial, Helvetica, sans-serif;
}

.tps-oec-pagination .page-numbers {
	min-width: 42px;
	height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 12px;
	border: 2px solid var(--tps-oec-ink);
	background: var(--tps-oec-paper);
	color: var(--tps-oec-ink);
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0;
	text-decoration: none;
	text-transform: uppercase;
	box-shadow: 4px 4px 0 var(--tps-oec-ink);
	transition: background 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.tps-oec-pagination a.page-numbers:hover,
.tps-oec-pagination a.page-numbers:focus {
	background: var(--tps-oec-ink);
	color: var(--tps-oec-paper);
	transform: translate(2px, 2px);
	box-shadow: 2px 2px 0 var(--tps-oec-ink);
}

.tps-oec-pagination .page-numbers.current {
	background: var(--tps-oec-ink);
	color: var(--tps-oec-paper);
	cursor: default;
	transform: translate(4px, 4px);
	box-shadow: 0 0 0 var(--tps-oec-ink);
}

.tps-oec-pagination .page-numbers.prev,
.tps-oec-pagination .page-numbers.next {
	min-width: 78px;
}

.tps-oec-pagination .page-numbers.dots {
	min-width: 28px;
	padding: 0;
	border-color: transparent;
	background: transparent;
	box-shadow: none;
}

.tps-oec__empty {
	margin: 0;
	padding: 22px;
	border: 2px solid var(--tps-oec-ink);
	background: var(--tps-oec-paper);
	color: var(--tps-oec-soft);
	font-size: 16px;
	font-weight: 800;
	box-shadow: 5px 5px 0 var(--tps-oec-ink);
}

@media (max-width: 767px) {
	.tps-oec__wrap {
		padding: 0;
	}

	.tps-oec-editor {
		grid-template-columns: 1fr;
		gap: 20px;
		padding: 20px;
		box-shadow: 5px 5px 0 var(--tps-oec-ink);
	}

	.tps-oec-editor::before {
		inset: 10px;
	}

	.tps-oec-editor__image {
		width: min(180px, 100%);
	}

	.tps-oec-editor--compact {
		grid-template-columns: 1fr;
	}

	.tps-oec-editor__bio {
		padding-left: 14px;
		border-left-width: 4px;
	}

	.tps-oec__posts {
		gap: 32px;
	}

	.tps-oec-post {
		box-shadow: 4px 4px 0 var(--tps-oec-ink);
	}

	.tps-oec-post__body {
		padding: 20px;
	}

	.tps-oec-post__content {
		font-size: 16px;
		line-height: 1.65;
	}

	.tps-oec-pagination {
		gap: 7px;
		margin-top: 30px;
	}

	.tps-oec-pagination .page-numbers {
		min-width: 36px;
		height: 36px;
		padding: 0 10px;
		border-width: 1px;
		font-size: 12px;
		box-shadow: 3px 3px 0 var(--tps-oec-ink);
	}

	.tps-oec-pagination .page-numbers.prev,
	.tps-oec-pagination .page-numbers.next {
		min-width: 64px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tps-oec-post__tag,
	.tps-oec-pagination .page-numbers {
		transition: none;
	}
}
