@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

body {
	line-height: 1.15;
	position: relative;
	overflow: auto;
	font-family: 'Inter';
	background-color: #f9f9f9;
}

.help-container {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100dvh;
	width: 100%;
}

.help-header {
	background: #161616;
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	position: sticky;
	top: 0;
	z-index: 99;
	--help-header-height: 9vh;
	height: var(--help-header-height);
}

.help-header .help-brand {
	width: 20%;
	text-align: center;
}

.help-brand-banner {
	max-height: 35px;
	margin-left: 15px;
}

.help-menu {
	width: 65%;
	transition: 0.2s all linear;
}

.help-menu ul {
	list-style: none;
	width: 100%;
	display: flex;
	justify-content: space-evenly;
	align-items: center;
}

.help-menu a {
	text-decoration: none;
	color: #eeeeee;
	font-size: 16px;
}

.help-menu a.help-wallet-link {
	color: grey;
}

.help-menu-toggle,
.help-menu-close {
	text-align: right;
	display: none;
}

.help-menu-toggle svg,
.help-menu-close svg {
	-webkit-tap-highlight-color: transparent;
	font-size: 24px;
	color: #eeeeee;
	margin-right: 28px;
	cursor: pointer;
}

.help-content {
	background: #f9f9f9;
	flex: 1;
	min-width: 0;
}

.help-content .help-hero {
	position: relative;
	text-align: center;
	color: ghostwhite;
	font-size: 40px;
	height: 316px;
	display: flex;
	justify-content: center;
	align-items: center;
	background: black;
	z-index: 1;
}

.help-content .help-hero h1 {
	font-size: 35px;
}

.help-content .help-hero img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	object-fit: cover;
	width: 100%;
	z-index: -1;
	height: 100%;
}

.help-category-section,
.help-topic-section {
	width: 90%;
	margin: 0 auto;
	padding-bottom: 30px;
}

.help-category-section {
	padding-top: 30px;
}

.help-topic-section .help-section-heading {
	color: rgba(0, 0, 0, 0.7);
}

.help-card-list {
	margin-top: 5%;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	flex-wrap: wrap;
	gap: 5%;
}

.help-topic-section .help-card-list {
	justify-content: space-between;
	gap: 0%;
}

.help-topic-card,
.help-topic-section .help-card-list .help-article-card {
	text-decoration: none;
	color: rgba(0, 0, 0, 0.7);
	border-radius: 8px;
	border: 1px solid #dddddd;
	background: white;
	margin-bottom: 30px;
	transition: 0.2s all ease;
}

.help-topic-card {
	width: 30%;
	padding: 30px;
}

.help-topic-section .help-card-list .help-article-card {
	width: 48%;
	padding: 24px;
	overflow: hidden;
}

.help-topic-card:hover,
.help-topic-section .help-card-list .help-article-card:hover {
	border-color: #0693e3;
	box-shadow: inset 0 1px 2px rgba(22, 22, 22, 0.16);
}

.help-topic-card h3 {
	margin-bottom: 15px;
	font-weight: 800;
}

.help-topic-section .help-card-list .help-article-card h3 {
	margin-bottom: 4px;
	font-size: 17px;
}

.help-article-preview {
	height: 90px;
	overflow: hidden;
	position: relative;
}

.help-article-excerpt {
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
	line-height: 1.3em;
	margin-top: 5px;
}

.help-breadcrumbs {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 2%;
	margin-left: 5%;
	padding: 5% 0;
}

.help-breadcrumb-home a {
	-webkit-tap-highlight-color: transparent;
	text-decoration: none;
	color: black;
}

.help-breadcrumb-link,
.help-breadcrumb-link a,
.help-topic-heading p {
	color: #afafaf;
}

.help-breadcrumb-link {
	cursor: default;
}

.help-breadcrumb-link a {
	text-decoration: none;
}

.help-topic-heading,
.help-feedback,
.help-feedback-actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.help-topic-heading {
	width: 100%;
	padding-bottom: 3%;
	border-bottom: 1px solid #dddddd;
	margin-bottom: 3%;
}

.help-article-panel {
	width: 80%;
	margin: 0 auto 5%;
	border-radius: 8px;
	padding: 40px 0;
}

.help-article-content {
	width: 60%;
	margin: 0 auto;
}

.help-article-title h2 {
	font-size: 36px;
	font-weight: 600;
}

.help-article-updated {
	font-size: 14px;
	font-weight: 400;
	color: #6a6a6a;
	line-height: 20px;
	margin-top: 8px;
}

.help-article-body {
	margin: 15px auto 30px;
	font-size: 13px;
	line-height: 2;
	overflow-wrap: break-word;
	padding-top: 4px;
	color: #183247;
	font-weight: 400;
}

.help-article-body p + p {
	margin-top: 4px;
}

.help-feedback {
	border-top: 1px solid #d1d1d1;
	padding: 25px 0;
}

.help-feedback-option {
	-webkit-tap-highlight-color: transparent;
	padding: 6px 16px;
	transition: 0.2s all linear;
	cursor: pointer;
	border: none;
	outline: none;
	border-radius: 5px;
	white-space: nowrap;
}

.help-feedback-option:hover,
.help-feedback-option-active {
	background-color: #0693e329;
	color: #0693e3;
}

.help-feedback p {
	color: #6a6a6a;
}

footer {
	min-height: 10vh;
	background: #161616;
	width: 100%;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 15px;
}

.help-copyright {
	color: white;
	text-align: center;
}

@media (max-width: 1024px) {
	.help-topic-card {
		width: 40%;
	}

	.help-menu a {
		font-size: 13px;
	}
}

@media (max-width: 820px) {
	.help-topic-card {
		width: 45%;
	}

	.help-menu a {
		font-size: 12px;
	}
}

@media (max-width: 769px) {
	.help-article-panel {
		width: 100%;
	}

	.help-topic-card h3 {
		font-size: 17px;
	}

	.help-menu-toggle {
		display: block;
	}

	.help-menu {
		position: fixed;
		left: -300%;
		top: var(--help-header-height);
		background: #161616;
		z-index: 9;
		width: 100%;
		height: 100%;
	}

	.help-menu ul {
		flex-direction: column;
	}

	.help-menu ul li {
		margin: 1rem auto;
	}

	.help-menu a {
		font-size: 18px;
	}

	.help-topic-section .help-card-list .help-article-card {
		width: 100%;
	}
}

@media (max-width: 580px) {
	.help-brand-banner {
		max-height: 30px;
	}

	.help-topic-card {
		width: 100%;
	}

	.help-topic-heading h1 {
		font-size: 22px;
	}

	.help-breadcrumbs {
		margin-inline: 16px;
	}

	.help-category-section,
	.help-topic-section {
		width: auto;
		margin-inline: 16px;
	}

	.help-article-panel {
		padding-inline: 16px;
	}

	.help-article-content {
		width: 100%;
		overflow-wrap: anywhere;
	}

	.help-feedback {
		flex-wrap: wrap;
		gap: 8px;
	}

	#help-breadcrumb-article-separator,
	#help-breadcrumb-article-title {
		display: none;
	}
}

@media (max-width: 480px) {
	.help-brand-banner {
		margin-left: 0;
	}

	.help-content .help-hero h1 {
		font-size: 24px;
	}

	.help-menu ul li {
		margin: 1rem 0;
		width: 85%;
	}

	.help-content .help-hero,
	.help-topic-section .help-section-heading {
		font-size: 20px;
	}

	.help-header .help-brand {
		width: 36%;
	}

	.help-content .help-hero {
		height: 200px;
	}

	.help-header {
		--help-header-height: 6vh;
	}

	.help-breadcrumbs {
		gap: 4.5%;
	}

	.help-article-panel {
		border-radius: 0;
		padding-bottom: 0;
	}

	.help-category-section,
	.help-topic-section {
		padding-bottom: 0;
	}

	.help-article-preview {
		height: auto;
	}

	.help-article-excerpt {
		-webkit-line-clamp: 6;
		line-clamp: 6;
	}

}

@media (max-width: 390px) {
	.help-header .help-brand {
		width: 50%;
	}

	.help-header {
		--help-header-height: 9vh;
	}
}
