html {
	scroll-behavior: smooth;
}

body {
	min-width: 320px;
}

.site-navbar > li > a {
	color: #333;
}

.site-navbar > li:only-child {
	display: none;
}

.site-search-form .search-input {
	float: left;
	width: calc(100% - 60px);
	height: 46px;
	line-height: 46px;
	padding: 0 18px;
	border: 1px solid #e5e5e5;
	border-radius: 6px 0 0 6px;
	outline: none;
	background: #fff;
}

.site-search-form .search-input:focus {
	border-color: #007bff;
}

.site-search-form .search-btn {
	float: left;
	width: 60px;
	height: 46px;
	padding: 0;
	border: 0;
	border-radius: 0 6px 6px 0;
	color: #fff;
	background: #007bff;
	cursor: pointer;
}

.gx-empty {
	margin: 0;
	color: #999;
}

.article-content h2,
.article-content h3 {
	scroll-margin-top: 70px;
}

.gx-comments {
	margin-top: 40px;
	padding-top: 30px;
	border-top: 1px solid #f3f3f3;
}

.gx-comments-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 22px;
}

.gx-comments-title h3 {
	position: relative;
	margin: 0;
	padding-left: 16px;
	font-size: 18px;
}

.gx-comments-title h3::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 4px;
	height: 17px;
	margin-top: -8.5px;
	border-radius: 10px;
	background: #007bff;
}

.gx-comments-title span {
	color: #999;
	font-size: 12px;
}

.gx-comment {
	display: flex;
	padding: 20px 0;
	border-bottom: 1px solid #f3f3f3;
}

.gx-comment > .avatar {
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	margin-right: 14px;
	border-radius: 50%;
}

.gx-comment-body {
	flex: 1;
	min-width: 0;
}

.gx-comment-head {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	font-size: 13px;
}

.gx-comment-head strong {
	color: #333;
}

.gx-comment-head time {
	color: #bbb;
}

.gx-comment-reply {
	color: #999;
}

.gx-comment-content {
	margin-top: 8px;
	line-height: 1.75;
	word-break: break-word;
}

.gx-comment .gx-comment {
	margin-top: 16px;
	padding-bottom: 0;
	border-bottom: 0;
}

.gx-comment-form {
	margin-top: 30px;
	padding: 24px;
	border-radius: 6px;
	background: #fafafa;
}

.gx-comment-form-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
	font-size: 16px;
	font-weight: 700;
}

.gx-comment-form-title a:last-child {
	color: #999;
	font-size: 12px;
	font-weight: normal;
}

.gx-form-row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 12px;
}

.gx-comment-form input.text,
.gx-comment-form textarea.text {
	display: block;
	width: 100%;
	padding: 11px 14px;
	border: 1px solid #e5e5e5;
	border-radius: 6px;
	outline: none;
	background: #fff;
}

.gx-comment-form textarea.text {
	min-height: 120px;
	resize: vertical;
}

.gx-comment-form input.text:focus,
.gx-comment-form textarea.text:focus {
	border-color: #007bff;
}

.gx-submit {
	margin-top: 12px;
	padding: 9px 24px;
	border: 0;
	border-radius: 6px;
	color: #fff;
	background: #007bff;
	cursor: pointer;
}

.gx-submit:hover {
	opacity: .88;
}

.gx-error-page {
	padding: 70px 30px;
	border-radius: 6px;
	background: #fff;
	text-align: center;
}

.gx-error-code {
	color: #007bff;
	font-size: 86px;
	line-height: 1;
	font-weight: 700;
}

.gx-error-page h1 {
	margin: 20px 0 10px;
	font-size: 24px;
}

.gx-error-page p {
	margin: 0 0 25px;
	color: #999;
}

.gx-error-button {
	display: inline-block;
	padding: 9px 22px;
	border-radius: 6px;
	color: #fff !important;
	background: #007bff;
}

@media (max-width: 600px) {
	.gx-form-row {
		grid-template-columns: 1fr;
	}

	.gx-comment-form {
		padding: 18px 15px;
	}

	.gx-comments {
		margin-top: 25px;
		padding-top: 22px;
	}

	.gx-error-page {
		padding: 45px 20px;
	}
}
