@charset "utf-8";

.forum-mobile-bar,
.forum-nav-backdrop {
	display: none;
}

.forum-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.forum-nav-toggle {
	-webkit-appearance: none;
	appearance: none;
	border: 0;
	background: transparent;
	padding: 8px;
	margin: 0;
	cursor: pointer;
	line-height: 0;
}

.forum-nav-toggle-icon,
.forum-nav-toggle-icon::before,
.forum-nav-toggle-icon::after {
	display: block;
	width: 22px;
	height: 2px;
	background: #b7282f;
	border-radius: 1px;
}

.forum-nav-toggle-icon {
	position: relative;
}

.forum-nav-toggle-icon::before,
.forum-nav-toggle-icon::after {
	content: "";
	position: absolute;
	left: 0;
}

.forum-nav-toggle-icon::before {
	top: -7px;
}

.forum-nav-toggle-icon::after {
	top: 7px;
}

@media screen and (max-width: 768px) {
	body.forum-mobile-page {
		overflow-x: hidden;
	}

	body.forum-mobile-page .forum-mobile-bar {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		height: 48px;
		padding: 0 8px 0 12px;
		background: #fff;
		z-index: 10003;
		box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
	}

	body.forum-mobile-page .forum-mobile-title {
		margin-right: auto;
		font-size: 15px;
		font-weight: 700;
		color: #b7282f;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	body.forum-mobile-page.forum-nav-open {
		overflow: hidden;
		touch-action: none;
	}

	body.forum-mobile-page .header {
		height: auto;
		padding: 56px 0 12px;
		background-size: cover;
	}

	body.forum-mobile-page .header .container > img {
		width: 100%;
		height: auto;
		display: block;
	}

	body.forum-mobile-page .header .nav {
		display: none;
		float: none;
		margin: 0;
		position: fixed;
		top: 48px;
		right: 0;
		bottom: 0;
		width: min(300px, 86vw);
		padding: 12px 16px 24px;
		background: #fff;
		z-index: 10002;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		box-shadow: -2px 0 12px rgba(0, 0, 0, 0.12);
		transform: translateX(100%);
		transition: transform 0.25s ease;
	}

	body.forum-mobile-page.forum-nav-open .header .nav {
		display: block;
		transform: translateX(0);
	}

	body.forum-mobile-page .header .nav a {
		display: block;
		margin: 0 0 14px;
		font-size: 17px;
		line-height: 1.4;
	}

	body.forum-mobile-page .forum-nav-backdrop {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: rgba(0, 0, 0, 0.45);
		z-index: 10001;
	}

	body.forum-mobile-page.forum-nav-open .forum-nav-backdrop {
		display: block;
	}

	body.forum-mobile-page .container {
		width: 100%;
		max-width: 100%;
		padding-left: 12px;
		padding-right: 12px;
		box-sizing: border-box;
	}

	body.forum-mobile-page .swiper-container {
		width: 100% !important;
		height: auto !important;
	}

	body.forum-mobile-page .swiper-container img {
		width: 100% !important;
		height: auto !important;
	}

	body.forum-mobile-page .action a {
		width: 100%;
		margin: 0 0 12px;
		float: none;
		display: block;
		height: auto;
		line-height: 1.4;
		padding: 16px 12px;
		font-size: 22px;
		box-sizing: border-box;
	}

	body.forum-mobile-page .honored-guest {
		width: 100%;
	}

	body.forum-mobile-page .honored-guest img {
		width: calc(50% - 8px);
		height: auto;
		margin: 8px 8px 0 0;
	}

	body.forum-mobile-page h1 {
		height: auto;
		line-height: 1.35;
		padding: 16px;
		font-size: 22px;
	}

	body.forum-mobile-page .main .left,
	body.forum-mobile-page .main .right {
		width: 100%;
		float: none;
		padding: 0 16px 24px;
		border: 0;
		box-sizing: border-box;
	}

	body.forum-mobile-page .main {
		padding: 24px 0;
	}

	body.forum-mobile-page .footer {
		padding: 24px 12px 48px;
		font-size: 13px;
		line-height: 1.6;
	}

	body.forum-mobile-page img {
		max-width: 100%;
		height: auto;
	}
}
