.post-content .gori-custom-next-page-text {
	margin-top: 40px;
	display: flex;
	justify-content: center;
}

.post-content .gori-custom-next-page-text a {
	display: flex;
	align-items: center;
	gap: 0 20px;
	line-height: 1.5;
	font-weight: 700;
}

.post-content .gori-custom-next-page-text a > .gori-custom-next-page-text-prefix {
	flex-shrink: 0;
	padding: 4px 10px;
	color: #fff;
	background-color: #111;
	text-decoration: none;
	position: relative;
	z-index: 1;
}

.post-content .gori-custom-next-page-text a > .gori-custom-next-page-text-prefix::before,
.post-content .gori-custom-next-page-text a > .gori-custom-next-page-text-prefix::after {
	content: '';
	position: absolute;
	right: -10px;
	width: 10px;
	height: 50%;
	background-image: linear-gradient(to left top, transparent 50%, #111 50%);
}

.post-content .gori-custom-next-page-text a > .gori-custom-next-page-text-prefix::before {
	bottom: 0;
}

.post-content .gori-custom-next-page-text a > .gori-custom-next-page-text-prefix::after {
	top: 0;
	transform: scaleY(-1);
}

.post-content .gori-custom-next-page-text a > .gori-custom-next-page-text-title {
	text-decoration: underline;
}

.post-content .gori-custom-next-page-text a:hover,
.post-content .gori-custom-next-page-text a:active {
	text-decoration: none;
}

@media screen and (min-width: 980px) {

	.post-content .gori-custom-next-page-text a > .gori-custom-next-page-text-prefix {
		font-size: 1rem;
	}
}

@media screen and (max-width: 979px) {

	.post-content .gori-custom-next-page-text a > .gori-custom-next-page-text-prefix {
		font-size: 0.75rem;
	}
}
